-
Notifications
You must be signed in to change notification settings - Fork 189
Exception: HTTP request failed, statusCode: 403 #30
Comments
That typically means that the API key is not set. You need to do that view the MapView API. For running on Android, you also have to add the API key to the AndroidManifest.xml |
Thanks for the quick response, my problem was that I didn't enable "Google Static Maps API". You should add that to the readme cause it's only on the code. |
Has anyone found a work around? The example works for me sometimes and sometimes not. Most of the time I get the 403 when it request the static map. Here's my flutter info: |
I've downloaded the example project folder but I wasn't able to make it work (both on android and iOS)..
The project compiles without errors and the application launches as expected but the map won't show, and an exception for the http request is thrown with statusCode 403.
I'm using an unrestricted API key, and I'm certain it works, cause I've tested it on another Android project and the map is loaded.
The text was updated successfully, but these errors were encountered: