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
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•8mo ago
See this issue – https://github.com/apify/crawlee-python/issues/551
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-purpleOP•8mo ago
Thank you!