Invalid or Expired Token

oauth
api
webhooks

#1

Hi!

I’m building a DM bot using node.js (https://github.com/twitterdev/twitter-webhook-boilerplate-node). Everything was just working fine, but since last week I’m getting the error [{“code”:89}, {“message”:“Invalid or expired token.”}]. I regenerated tokens, but still get the error.

App ID: 14975266
Handle: BancarioThiago

Please, help me!

Thanks :slight_smile:


#2

Solved.

The path to the file “config.json” was wrong… :sweat_smile:


#3

thanks for sharing the solution! :+1:


#4