Daily quota reached or API key unauthorized


#1

Hello,
Not sure if I’m using this wrong, or what is not going right here, but…

I am trying to make requests to URLs like
https://api.openrouteservice.org/pmapsurfer/7/72/46.png?api_key=<>
My account is registered under email radu.m.jakab@gmail.com if you need to check it.
I’m getting the same error response from a browser window or application.
The URL should also be correct, I’ve tried it with the API key used by https://maps.openrouteservice.org/ and it works

The API key should be right since I can see the error count going up for my token. But my current usage is 0, so quota cannot be reached.
Is my token not authorized for these tiles?

Thank you,
Radu


#2

Hi,
just use the proper URL https://api.openrouteservice.org/mapsurfer, note the missing p: stands for public. And your key is not authorized for the public instances (only https://maps.openrouteservice.org can request those).

Generally, rather play around there than in the browser dev env:
https://openrouteservice.org/dev/#/api-docs/mapsurfer


#3

Right, worked like a charm.
Thank you!