node-twitter-api-v2
node-twitter-api-v2 copied to clipboard
Request failed Error
So I was migrating my DB, and I needed to get the data of the individual tweet. It worked for a while & then I received an error that doesn't say anything about it. Here is the screenshot of the error.

This is the code.
const tweet = await twitterClient.v2.singleTweet(
bookmark.twitter_status_id
)
bookmark.post_heading = tweet?.data?.text
bookmark.post_data = tweet?.data?.text
A request error is mostly a network problem.
You can get the inner Node.js error my accessing error.requestError.stack (error being the catched error)