trante
trante

Reputation: 34006

Twitter API GET Trends 404 error

I check trends regarding to REST API of twitter. get trends Generally it works well. But sometimes I get 404 error. After some minutes it comes back.

Error code is:

{"errors":[{"message":"Sorry, that page does not exist","code":34}]}

Does anyone had this issue? What would you recommend ?
Please check this link, it gives 404 now.
https://api.twitter.com/1/trends/1.json

Upvotes: 0

Views: 1989

Answers (1)

ali haider
ali haider

Reputation: 20232

how often are you accessing this call - are you sure you are not breaching the rate limit? If not breaching, this could possibly be an issue on the twitter end and you would need to handle the error message, use the previously cached response for your application till you get an updated feed from twitter. hope this helps

Upvotes: 1

Related Questions