Status creation failed: Tweet creation failed


I am using twitter api v1.1, this api function and sometimes I get this error

Anyone has this error? I want to tell user what he should do to avoid this error.

{“errors”:[{“code”:190,“message”:“Status creation failed: Tweet creation failed.”}]}


I think it may be the tweet text. Verify that its length was still under the character count limit, once you also consider the’s URL length contribution as well.


Sorry for long delay.
It is fixed, maybe someone will be interested in fix
Problem was that user tried to publish animated gif. I changed code to get first frame from the gif


I am facing the same problem.