Google Roads API "Requested entity was not found"

4.3k views Asked by At

I am trying to use the Google Roads API but it is returning an error when I use the example!

If I type the following URL into my browser I get the following response:

https://roads.googleapis.com/v1/speedLimits?path=51.4907313,-0.2160447|51.4905303,-0.2139847&key=*******

I have replaced my API key with asterisks for obvious reasons.

Response:

{
"error": {
"code": 404,
"message": "Requested entity was not found.",
"status": "NOT_FOUND"
}
}

How can I fix this?

Please note that I am a newbie regarding Google APIs.

1

There are 1 answers

3
hbertsch On

You most likely do not have a billing Account associated to your Google API project. The same thing happened to me. Since I have set up a billing account and added this to the API project the requests are working as expected.

See: How to add a Google billing account and How to modify a projects billig account