Try to reinstall traccar.
He has wrong token, better make new account at https://locationiq.com/
Reinstalling definitely won't solve any problem.
Why can I use the token in a web browser?
you use wrong token, read carefull what we tell you
Did you created token via this form ? After create token via this form token start from pk....
This is wrong token for traccar, use token from first email
I have tried the access token as well but it did not work.
Every token I have has worked with this
https://eu1.locationiq.com/v1/reverse.php?key=pk.26c58f24d33c61f2885687c4a5e1e576&&lat=59.129027&lon=12.892395&format=json
but not with Traccar.
try
edit:
/etc/systemd/system/traccar.service
change
#ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
ExecStart=/opt/traccar/jre/bin/java -Djdk.tls.client.protocols=TLSv1.2 -jar tracker-server.jar conf/traccar.xml
sudo systemctl daemon-reload
edit:
/opt/traccar/conf/default.xml
<entry key='geocoder.enable'>true</entry>
<entry key='geocoder.type'>nominatim</entry>
<entry key='geocoder.url'>https://locationiq.org/v1/reverse.php</entry>
<entry key='geocoder.key'>access_token_not_pk</entry>
sudo systemctl restart traccar.service
I have read on some post that on locationiq website when logining in and setting up you must enter the url, website not traccar ip address.
Stupid me!!
I have been away from Traccar a while but upgraded to version 4.8 and realized that I have made a typo.
I wrote <entry key='geocoder'>nominatim</entry>
and not<entry key='geocoder.type'>nominatim</entry>