Skip to content
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
Open

Twitter output node gives 401 #174

stevegg opened this issue Feb 5, 2016 · 3 comments

Comments

@stevegg
Copy link

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
Copy link
Contributor

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

@stevegg
Copy link
Author

stevegg commented Feb 9, 2016

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

@jeffoxenberg
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants