Pydantic Exception

I'm building a request queue of URLs and most run fine but I will receive the following exception and not sure how to proceed. pydantic_core._pydantic_core.ValidationError: 1 validation error for Request user_data.__crawlee.state Input should be 0, 1, 2, 3, 4, 5, 6 or 7 [type=enum, input_value='RequestState.REQUEST_HANDLER', input_type=str] For further information visit https://errors.pydantic.dev/2.9/v/enum
3 Replies
Hall
Hall8mo ago
View post on community site
This post has been pushed to the community knowledgebase. Any replies in this thread will be synced to the community site.
Apify Community
statutory-emerald
statutory-emerald8mo ago
GitHub
Failing pydantic validation on request_dict · Issue #551 · apify/c...
When running the httpx crawler on v0.3.7 My request_dict '{"url": "XXXXXX", "unique_key": "YYYYY", "method": "GET", "headers&quo...
plain-purple
plain-purpleOP8mo ago
Thank you!

Did you find this page helpful?