I have a twitter bot which reads a public JSON feed in NodeJs and tweets out a summary of it. V. Simple!

Today it emailed me (my functionality) to say this had happened:
twitterAccount.post(‘statuses/update’,{ … }); threw:

{
“code”: “ECONNRESET”,
“path”: null,
“host”: “http//api.twitter.com”,
“port”: 443
}

That comes directly from the Twitter Node API. I just don’t find any reference to any such error either in community discussions or in docs.

Thoughts?

That’s an HTTP network connection error, not a Twitter API error. It probably needs to handle network issues and reconnections.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.