Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the twitter API throwing this error?

Tags:

java

twitter

The error message suggests that my "request was denied due to update limits". But this account hasn't tweeted anythin in the last 24 hours and it also says retryAfter=-1. I tried it with the current stable and the snapshot build of twitter4j but it didn't help. Does someone know what is wrong?

403:The request is understood, but it has been refused. An accompanying error message will explain why. This code is used when requests are being denied due to update limits (https://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following).
message - Application cannot perform write actions. Contact Twitter Platform Operations through https://support.twitter.com/forms/platform
code - 261

Relevant discussions can be found on the Internet at:
    http://www.google.co.jp/search?q=2fc5b7cb or
    http://www.google.co.jp/search?q=0f38fea7
TwitterException{exceptionCode=[2fc5b7cb-0f38fea7], statusCode=403, message=Application cannot perform write actions. Contact Twitter Platform Operations through https://support.twitter.com/forms/platform, code=261, retryAfter=-1, rateLimitStatus=null, version=4.0.5-SNAPSHOT(build: bbbd24f6c492677f65d3956ed6b74a2ae75d5bc3)}
    at twitter4j.HttpClientImpl.handleRequest(HttpClientImpl.java:164)
    at twitter4j.HttpClientBase.request(HttpClientBase.java:57)
    at twitter4j.HttpClientBase.post(HttpClientBase.java:86)
    at twitter4j.TwitterImpl.post(TwitterImpl.java:1812)
    at twitter4j.TwitterImpl.updateStatus(TwitterImpl.java:218)
like image 962
Grunzwanzling Avatar asked Oct 14 '25 15:10

Grunzwanzling


1 Answers

Code 261 means the API-token was suspended. It takes only 10 minutes to appeal the suspension and get everything up and running again.

like image 81
Grunzwanzling Avatar answered Oct 17 '25 04:10

Grunzwanzling