<@ULVA73B9P> I'm getting this error with my prefec...
# marvin-ai
l
@Marvin I'm getting this error with my prefect server
Copy code
File "/usr/local/lib/python3.12/site-packages/pydantic/main.py", line 766, in model_validate_json
    return cls.__pydantic_validator__.validate_json(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
pydantic_core._pydantic_core.ValidationError: 4 validation errors for Event
occurred
  Field required [type=missing, input_value={'type': 'auth', 'token': None}, input_type=dict]
    For further information visit <https://errors.pydantic.dev/2.12/v/missing>
event
  Field required [type=missing, input_value={'type': 'auth', 'token': None}, input_type=dict]
    For further information visit <https://errors.pydantic.dev/2.12/v/missing>
resource
  Field required [type=missing, input_value={'type': 'auth', 'token': None}, input_type=dict]
    For further information visit <https://errors.pydantic.dev/2.12/v/missing>
id
  Field required [type=missing, input_value={'type': 'auth', 'token': None}, input_type=dict]
    For further information visit <https://errors.pydantic.dev/2.12/v/missing>
I'm running prefect version
prefect:3.6.16-python3.12
m
Error: Attempted to exit cancel scope in a different task than it was entered in
Sorry, I encountered an error while processing your request. Please try again.
l
Can you try again @Marvin?
m
thought for 16.8 seconds
I’m happy to—could you share a bit more context on what you want me to try again? Helpful details: - What you’re trying to do (e.g., deploy, run a flow, configure a worker) - Prefect version (
prefect version
) and Python version - How you ran it (CLI command or code snippet) - The exact error/traceback or unexpected behavior - Worker type/infrastructure (Process, Docker, Kubernetes) and any logs - A link to the flow run in the UI or the run ID, if available If you just want me to re-run or re-check something specific (a command or code I sent), paste it here and tell me what output you expected.
n
oof
i can look into this
looks like a client-server mismatch tho