I’m facing a 403 Forbidden Error while doing a GET request of Routing API with valid parameters and URL using the “requests” library of Python. However, I can still see the response on web browser and not using Python script. Can someone let me know what could be the issue? Do I need to get a paid membership of TomTom to run it with Python?
When I run the script it only gives me <Response [403]>. I’ve re-checked all my parameters and API key, they are fine. Below is the screenshot of my script I’m trying to run.
I just checked this request with my API key and it works. So I’d suggest to check your API key if it is copied properly and if it has Routing API added.