conscious-sapphire
conscious-sapphire14mo ago

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
Hall14mo 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
fair-rose
fair-rose14mo 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...
conscious-sapphire
conscious-sapphireOP14mo ago
Thank you!

Did you find this page helpful?