hello.js icon indicating copy to clipboard operation
hello.js copied to clipboard

Twitter API sporadic auth issue

Open URobert opened this issue 6 years ago • 2 comments

Hello,

I'm using hello.js (version "1.16.1") for auth with the twitter API. And for some reason every now and then the authentication fails. It seems to happen randomly, working a few times then failing... then working again.

The error returned is: { error: 'invalid_oauth_token', error_message: 'The oauth_token was not recognised', state: '{"client_id":..... }}

Could someone point me in the right direction of how to debug this? I've been at it for a while now.

Thanks!

URobert avatar Aug 02 '18 14:08 URobert

Hi @URobert i can only think that there could be a character which is not correctly escaped. Do you have more information, i.e. the request which is breaking. Thanks

MrSwitch avatar Aug 20 '18 19:08 MrSwitch

Hi. In my case the issue was fixed by killing the current machine that was running the app and spinning up a new one.

URobert avatar Aug 27 '18 10:08 URobert