Skip to content
This repository was archived by the owner on Jun 25, 2019. It is now read-only.
This repository was archived by the owner on Jun 25, 2019. It is now read-only.

Exception: HTTP request failed, statusCode: 403 #30

Closed

Description

@nunorpg

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.

Activity

  1. matthewtsmith commented on Mar 26, 2018

    @matthewtsmith
    Member

    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

  2. nunorpg commented on Mar 27, 2018

    @nunorpg
    ContributorAuthor

    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.

  3. zsyphon commented on Nov 12, 2018

    @zsyphon

    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:
    [✓] Flutter (Channel master, v0.10.2-pre.99, on Mac OS X 10.13.6 17G65, locale en-US)
    • Flutter version 0.10.2-pre.99 at /Users/jchasecrafton/flutter
    • Framework revision c319b890b3 (13 days ago), 2018-10-29 19:44:36 -0700
    • Engine revision 162b2e98c0
    • Dart version 2.1.0 (build 2.1.0-dev.8.0 bf26f760b1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions