Toby
Toby

Reputation: 1

Google Geocoding Access Denied Error

One of our clients has started to get an access denied error on their site. Here is the error:

There was an error with Google's Geocoding Service: REQUEST_DENIED

Exception Details: System.ApplicationException: There was an error with Google's Geocoding Service: REQUEST_DENIED

Stack Trace: [ApplicationException: There was an error with Google's Geocoding Service: REQUEST_DENIED] GoogleMapsAPIHelpers.GetGeocodingSearchResults(String address) +337 FindAStoreCoatings.btnSearch_Click(Object sender, EventArgs e) +67 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +155 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3804

Basically it has all of a sudden has stopped working as of a week ago. And their requests hadn't hit over the 2,500 free requests per day and they have the billing setup to pay for any days that go over that amount.

Does somebody have an idea on what to check for?

Upvotes: 0

Views: 1046

Answers (1)

miguev
miguev

Reputation: 4865

Always check the "error_message" field in JSON (or tag in XML) response, there should be an explanation here. It could be "The provided API key is invalid." if the API key has been deleted from your project, or something else if there's something off with project itself.

Upvotes: 1

Related Questions