X (ex-Twitter) response has an error: Status is a duplicate

X (ex-Twitter) doesn't allow you to post identical Tweets in a row.
Try to change the message text you want to send a little bit.