Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Roads API "Requested entity was not found" [closed]

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.

like image 670
tim.tub Avatar asked Jul 01 '26 05:07

tim.tub


1 Answers

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

like image 161
hbertsch Avatar answered Jul 05 '26 17:07

hbertsch



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!