Hi everyone,

I have a java application (.jar) that posts to my twitter account 2-3 times a day or more. It has been working for more than 1 year.
However, error/exceptions started to show on the logs since December 25, 2022 - The program is no longer posting to twitter.

Would like to check if anyone know or have experience the same issue and how the issue was handled? or was there any event on twitter side that may cause this?

Setup of the application:

  • using java 8
  • using twitter4j library

*There was no change on the setup and the application for more than a year.

Details of error:
This error has been happening constantly, multiple times a day since the December 25th.
-See The Screenshot below

What endpoint are you using?
-updatestatus
What API version are you on?

  • version 1
    Are you using a library or SDK? Which one?
  • using library Twitter4j 4.0.7

What is the issue?
-internal error 131
-see the screenshot above
Steps to reproduce the issue
Step 1: Run the sample from Twitter4J/twitter4j-examples at 4.0.7 · Twitter4J/Twitter4J · GitHub
Step 2: N.A.

What is the error message?

  • TwitterException
  • see the screenshot above

When did it start?

  • Since December 25, 2022

What have you tried to troubleshoot?

  • yes

Thanks,

There was some flaky behavior from twitter recently - 500 errors unfortunately are not something you can debug in this case, so hopefully someone from twitter looks into it.

I think the only thing that comes to mind to do about it, may be to implement some sort of exponential backoff and retries.