You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Receiving 215 'Bad Authentication data'. Is this up to date with Twitter's AAA Api ref?
Expected behavior
Expecting Autohook to generate the webhook
Actual behavior
This does not happen. I get the below in my terminal instead.
Getting webhooks…
Removing webhooks…
Registering https://e82a-2a00-23c5-fd87-6601-6006-e738-4301-de4f.ngrok.io/webhook as a new webhook…
Cannot create webhook: AuthenticationError: Bad Authentication data. (HTTP status: 400, Twitter code: 215)
at tryError (C:\Users\leona\AppData\Roaming\npm\node_modules\twitter-autohook\errors\index.js:53:12)
at Autohook.setWebhook (C:\Users\leona\AppData\Roaming\npm\node_modules\twitter-autohook\index.js:208:19)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Autohook.start (C:\Users\leona\AppData\Roaming\npm\node_modules\twitter-autohook\index.js:277:7)
at async C:\Users\leona\AppData\Roaming\npm\node_modules\twitter-autohook\cli.js:60:5 {
code: 215
}
Error: Bad Authentication data. (HTTP status: 400, Twitter code: 215)
Steps to reproduce the behavior
Install via npm: npm i -g twitter-autohook
Create .env.twitter file in home dir with correct details. (I know the details are correct because I used them in other calls to twtr API.) I didn't include a ngrok link
Run autohook -rs
Brief thoughts
It looks to me like this may not send enough authentication data, per the Premium API Ref. Are oauth nonce, signature, and timestamp not needed?
The text was updated successfully, but these errors were encountered:
Receiving 215 'Bad Authentication data'. Is this up to date with Twitter's AAA Api ref?
Expected behavior
Expecting Autohook to generate the webhook
Actual behavior
This does not happen. I get the below in my terminal instead.
Steps to reproduce the behavior
Install via npm:
npm i -g twitter-autohook
Create
.env.twitter
file in home dir with correct details. (I know the details are correct because I used them in other calls to twtr API.) I didn't include a ngrok linkRun
autohook -rs
Brief thoughts
It looks to me like this may not send enough authentication data, per the Premium API Ref. Are oauth nonce, signature, and timestamp not needed?
The text was updated successfully, but these errors were encountered: