Skip to content

[SearchBox] Getting 405 Method Not Allowed when search by location #500

@skrywus

Description

@skrywus

I'm using @mapbox/search-js-react
"@mapbox/search-js-react": "^1.1.0",
Whenever search call is triggered this event is alse called:

https://api.mapbox.com/events/v2?access_token=TOKEN
Request Method
GET
Status Code
405 Method Not Allowed

What is strange on my local environment(localhost:3000) the same request is sending but Request Method is POST and then it works.

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