Error response on Counts endpoint (30-days API)


#1

Hi all,

I’m querying the endpoint Counts (https://api.twitter.com/1.1/tweets/search/30day/dev/counts.json) and I’m receiving the error

Unauthorized: Stream is not enabled for count requests

While, the same query for the list of tweets (https://api.twitter.com/1.1/tweets/search/30day/dev.json) endpoint is working fine.


#2

From the documentation:

The Search Tweets: 30-Day API provides both data and counts endpoints. Note that the counts endpoint is not available in Sandbox dev environments.

Have you upgraded to a paid premium tier, or are you in the Sandbox at the moment?


#3

ok, I’m in sandbox


#4

Great, thanks for clarifying. Unfortunately that endpoint is not available in that tier. Just to show you the other place you can always check for features, the new Dashboard will also show you the entitlements via the upgrade panel:

In the meantime, you’re welcome to use the other features available in the Sandbox, and we hope you’re finding it useful.