koogawa blog

iOS、Android、foursquareに関する話題

Foursquare API “Consumer Disabled” error

Summary

I have been using the foursquare API, but suddenly I get "Consumer disabled" error responses.

The call I am making this to get venues will be look like:

https://api.foursquare.com/v2/venues/search?v=20180101&ll=35.6662026,139.7312591&oauth_token=XXXXX

I have the issue currently all my API calls to foursquare venues are failing with:

{
    code":403,
    "errorType":"not_authorized",
    "errorDetail":"Consumer disabled.”
}

response.

Did I do something wrong? 😭

Solution

I found the same question on StackOverflow.

But that did not work. So I contacted the foursquare API support team.*1 A few hours later the reply that we re-enabled your key was returned. Thus, the issue was resolved. They are now under the investigation of the causes. 🤔

*1:Please look for support e-mail on your own. It is on the https://developer.foursquare.com