API Error 403, Acess disallowed

Hi,

I’m trying to test the API Keys that I have here, one sent by the dev team and another sent by my manager, but I’ve been having the same problem with both of them, which are showing the error:
“error”: “Access to this API has been disallowed”.

I’m just trying to test the distance between two points with the documentation python code example, but the error always remains the same.

import requests

headers = {
‘Accept’: ‘application/json, application/geo+json, application/gpx+xml, img/png; charset=utf-8’,
}
call = requests.get(‘https://api.openrouteservice.org/v2/directions/driving-car?api_key=API_KEY&start=-47.114368191277514,-22.856042050977322&end=-47.053906821228495,-22.901525088310635’, headers=headers)

print(call.status_code, call.reason)
print(call.text)

Can you please tell me how to proceed? Thank you in advance!

Hey,

if you are experiencing issues with your key, please contact support [at] account.heigit.org, preferably from the mail address you used to sign up.

Best regards

2 Likes