Apify and Crawlee Official Forum

Updated 3 months 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
Add a reply
Sign up and join the conversation on Discord