You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Foursquare API突发“Consumer disabled”错误,场地查询请求失败求助

Troubleshooting "Consumer disabled" Error in Foursquare Venues API Requests

Let's dive into fixing this "Consumer disabled" error you're facing—this message means Foursquare has restricted or disabled your API client (the client_id/client_secret pair you're using) from making requests. Here are the most likely causes and actionable steps to resolve it:

Common Causes & Fixes

  • Check your app's status in the Foursquare Developer Console
    Log into your Foursquare developer account and head to your app's dashboard. Look for any alerts about violations of their service terms, excessive rate limit hits, or inactive app status. Sometimes accounts get flagged if your usage suddenly spikes, or if your app's actual use doesn't match what you specified during registration.

  • Validate your API credentials
    Double-check that you're using the correct client_id and client_secret—it's easy to accidentally paste a wrong value when updating configurations. Also, confirm that your app hasn't been deleted or marked as inactive in the console.

  • Review your request volume and patterns
    Foursquare enforces strict rate limits for API calls. Even if you weren't hitting limits before, a sudden increase in requests or repeated identical queries could trigger a temporary block. Make sure your requests are throttled to stay within their limits, and avoid making unnecessary duplicate calls.

  • Contact Foursquare Developer Support
    If you can't spot any issues in your dashboard, reach out to Foursquare's support team. Provide them with your client_id, a redacted copy of your failing request (like the example you shared), and details about when the error started. They can explain exactly why your client was disabled and help reinstate it if possible.

Quick Check of Your Request Example

Looking at your sample request:

https://api.foursquare.com/v2/venues/search?ll=27.9253%2C-82.37368&client_id=HVVN3Q2GGRUDAQATCA2YE1H3E0KKYR0PGW15HRP0YIZNUW3G&client_secret={******}&mode=foursquare&v=20161223&query=Caw%20Residential%20Services&intent=browse&phone=8138466598&radius=1000

The structure is correct—parameters are properly URL-encoded, and you're using a valid API version (v=20161223). So the problem is definitely related to your client's status, not the request syntax itself.

内容的提问来源于stack exchange,提问作者Vkona

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 04:25:02