New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter output node gives 401 #174

Open
stevegg opened this Issue Feb 5, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@stevegg

stevegg commented Feb 5, 2016

I had posted this issue in the node-red repo and will remove it from there.

I have a Twitter output node that throws a 401 in the debug tab whenever I attempt to send a payload. I have authenticated it properly (several times) but get this:

Error: HTTP Error 401: Unauthorized, API message: {"errors":[{"code":32,"message":"Could not authenticate you."}]}

I'm sure this used to work fine.

Time Zone/Date & Time are setup properly on node red host and OAuth completes successfully (I see this at the end of the OAuth flow: Authorised - you can close this window and return to Node-RED)

What am I missing?

@andypiper

This comment has been minimized.

Contributor

andypiper commented Feb 8, 2016

Are you able to post to Twitter successfully using the same account, but not using node-red?

@stevegg

This comment has been minimized.

stevegg commented Feb 9, 2016

Yes, I can post fine with the same account...just not using the twitter node in Node Red.

@jeffoxenberg

This comment has been minimized.

jeffoxenberg commented Mar 22, 2016

I stumbled across this because I experienced the same issue, and was just able to solve it. I kept getting the same 401 error, and realized that I was sending a JSON object to the twitter node instead of a string. I changed the message payload to a string and it works now. YMMV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment