Open bigansh opened 1 year ago
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)
error.requestError.stack
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.