optimistic-gold
optimistic-gold•3y ago

ERROR CheerioCrawler handleRequestFunction failed

Hi I am running the actor locally and it keep failing to crawl the urls ERROR CheerioCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {"url":"https://www.upworthy.com/texas-teacher-shares-how-policy-destroyed-her-class-library","retryCount":8,"id":"1fCAAC2oUsC5w7e"} No language specified! I provided the APIFY_TOKEN and APIFY_PROXY_PASSWORD in the env field in apify.json and provided the INPUT.json in storage/key_value_stores/default/INPUT.json any ideas?
6 Replies
Oleg V.
Oleg V.•3y ago
Hard to say where is the problem. Will be nice if you can provide your code.
fascinating-indigo
fascinating-indigo•3y ago
Agree on this. Could you share the code?
optimistic-gold
optimistic-goldOP•3y ago
Hi, i dont think i can share the code but the task runs successfully on apify platform, the problem is running it locally, it just fails to scrape the url
MEE6
MEE6•3y ago
@Chedy Hammami just advanced to level 1! Thanks for your contributions! 🎉
fascinating-indigo
fascinating-indigo•3y ago
Why can't you share your code?
optimistic-gold
optimistic-goldOP•3y ago
its private code, cannot be shared unfortunately , but as i said the code works properly on the platform, so i am guessing i might be missing a configuration locally or i havent defined an environment variable or something like that Okay problem solved, i wasnt passing something to INPUT.json. my bad Thanks @thek1tten @Oleg V.

Did you find this page helpful?