Home Ask Login Register

Developers Planet

Your answer is one click away!

Harry Jiang February 2016

Google Maps javascript API not loading after tab has been open for long time with 403 response

So we have a page that uses angular and has a few tabs, and a few of the tabs have google maps on them, but they're loaded lazily and only when they're needed. When the page is opened, all the maps and tabs work fine but if the tab is opened for a while then a new tab with a map is clicked into, the map won't load as in it just shows grey space and in the console I see errors that look like

Failed to load resource: the server responded with a status of 403 (OK)

I'm a little confused because 403 usually means forbidden but it says OK? I've checked my quotas and it's not even close to hitting any rate limits or quotas. Any help on why this is happening would be helpful or advice. Thanks


nAviD February 2016

Probably some of google static(for example gstatic.google.com,googleapis.com) file centers have been blocked by your Internet service provider or even your country.

Post Status

Asked in February 2016
Viewed 1,628 times
Voted 12
Answered 1 times


Leave an answer

Quote of the day: live life