Prerequisites: launch the project for the first time with npm start
Remarks: Using free X API plan (it might be related)
When I launch the project I get the following issue:
Starting process to generate draft...
Fetching sources...
Scraping 21 sources...
Error: Failed to fetch tweets for OpenAIDevs: Too Many Requests
at C:\Users\tymak\Desktop\Hustle apps\trendFinder\src\services\scrapeSources.ts:69:19
at Generator.next (<anonymous>)
at fulfilled (C:\Users\tymak\Desktop\Hustle apps\trendFinder\src\services\scrapeSources.ts:5:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
And even though the requirement of X API token is stated as optional, when I revert to default value of
X_API_BEARER_TOKEN=your_twitter_api_bearer_token_here
It still tries to fetch the tweets and produces 401 Unauthorized error
Prerequisites: launch the project for the first time with npm start
Remarks: Using free X API plan (it might be related)
When I launch the project I get the following issue:
And even though the requirement of X API token is stated as optional, when I revert to default value of
It still tries to fetch the tweets and produces 401 Unauthorized error