Get an Invalid or Expired Token Error Response

The following error can occur if you have regenerated tokens or revoked access to your Twitter application.

Error code 89 : message : Invalid or Expired Token

Solution: Check the authorization for your application on the Twitter developer page and update the credentials for the adapter.

  1. Log in to the Twitter developer page and go to https://apps.twitter.com.

  2. If you have revoked access to the application, provide access by clicking Generate Access Token.

  3. Make a note of the following tokens in the Keys and Access Tokens tab:

    • Consumer key

    • Consumer secret

    • Access token

    • Access token secret

  4. Update the Twitter Adapter connection with these credentials.