I have been using the twitter add on for a couple of months now to send a direct message on status updates. Up until a couple of days ago it was working fine.
I started getting a message in the log file -
2018-09-22 12:25:24.439 [ERROR] [nhab.action.twitter.internal.Twitter] - Failed to send Tweet 'There is someone at the garage door' because of: 404:The URI requested is invalid or the resource requested, such as a user, does not exists. Also returned when the requested format is not supported by the requested method. message - Sorry, that page does not exist. code - 34
I unauthorised the app in twitter, deleted twitter.pin and twitter token from /var/lib/openhab2 and un-installed the twitter action via Paper UI. I then reinstalled via Paper UI created a new twitter.pin and successfully authorised the twitter action.
After that I received a different error message
2018-09-22 12:51:38.932 [ERROR] [nhab.action.twitter.internal.Twitter] - Failed to send Tweet 'There is someone at the garage door' because of: 401:Authentication credentials (https://dev.twitter.com/pages/auth) were missing or incorrect. Ensure that you have set valid consumer key/secret, access token/secret, and the system clock is in sync.
After a reboot the message reverts to the original 404 message as above.
I am running openhabian / openhab 2.3.0-1