-
Notifications
You must be signed in to change notification settings - Fork 17
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
Multiple Errors #1
Comments
Hi Mike,
Thanks for bringing this to my attention. I believe there was a small
change I had to make after an API update that I forgot to include in my
article. I will take a look and let you know today.
Thanks,
Praneeth
On Wed, Jul 14, 2021 at 8:21 AM sandfam ***@***.***> wrote:
Hello,
I am running an macOS Big Sur version 11.4. I did everything that was
outlined here, and repeated it:
https://towardsdatascience.com/building-a-real-time-twitter-bot-that-replies-with-media-e353fff1c395
I just can't seem to ascertain what I did wrong.
Here's the error I get:
------------------------------
***@***.***MAC twitter-bot % node bot.js
Searching for tweets...
node:events:371
throw er; // Unhandled 'error' event
^
Error: Status Code: 401
at Request.
(/Users/Mike/twitter-bot/node_modules/twitter/lib/twitter.js:277:28)
at Request.emit (node:events:394:28)
at Request.onRequestResponse
(/Users/Mike/twitter-bot/node_modules/request/request.js:1059:10)
at ClientRequest.emit (node:events:394:28)
at HTTPParser.parserOnIncomingClient [as onIncoming]
(node:_http_client:621:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:127:17)
at TLSSocket.socketOnData (node:_http_client:487:22)
at TLSSocket.emit (node:events:394:28)
at addChunk (node:internal/streams/readable:312:12)
at readableAddChunk (node:internal/streams/readable:287:9)
at TLSSocket.Readable.push (node:internal/streams/readable:226:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Emitted 'error' event at:
at Request.
(/Users/Mike/twitter-bot/node_modules/twitter/lib/twitter.js:277:14)
at Request.emit (node:events:394:28)
[... lines matching original stack trace ...]
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
------------------------------
Please let me know if I'm lacking any information that will help you to
help me. I greatly appreciate your time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFVM266MCCWED4QOR2KP2A3TXWTPDANCNFSM5ALVZ3RQ>
.
--
Thanks,
Praneeth G.
|
Thank you SO much! |
Hi, I have those errors too. How can I fix it ? Thanks |
Hi Zeppe79, He never got back to me, but I wish he would have. Hopefully, he sees this. |
Ok same problem, no answer over a year later. This is pretty useless. |
Error 401 is no authorization, check your tokens. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am running an macOS Big Sur version 11.4. I did everything that was outlined here, and repeated it:
https://towardsdatascience.com/building-a-real-time-twitter-bot-that-replies-with-media-e353fff1c395
I just can't seem to ascertain what I did wrong.
Here's the error I get:
Mike@iMAC twitter-bot % node bot.js
Searching for tweets...
node:events:371
throw er; // Unhandled 'error' event
^
Error: Status Code: 401
at Request. (/Users/Mike/twitter-bot/node_modules/twitter/lib/twitter.js:277:28)
at Request.emit (node:events:394:28)
at Request.onRequestResponse (/Users/Mike/twitter-bot/node_modules/request/request.js:1059:10)
at ClientRequest.emit (node:events:394:28)
at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:621:27)
at HTTPParser.parserOnHeadersComplete (node:_http_common:127:17)
at TLSSocket.socketOnData (node:_http_client:487:22)
at TLSSocket.emit (node:events:394:28)
at addChunk (node:internal/streams/readable:312:12)
at readableAddChunk (node:internal/streams/readable:287:9)
at TLSSocket.Readable.push (node:internal/streams/readable:226:10)
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Emitted 'error' event at:
at Request. (/Users/Mike/twitter-bot/node_modules/twitter/lib/twitter.js:277:14)
at Request.emit (node:events:394:28)
[... lines matching original stack trace ...]
at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23)
Please let me know if I'm lacking any information that will help you to help me. I greatly appreciate your time.
The text was updated successfully, but these errors were encountered: