Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agents-api: GET /job/{job-id} throws Internal Server Error #505

Closed
creatorrr opened this issue Sep 18, 2024 · 0 comments · Fixed by #544
Closed

agents-api: GET /job/{job-id} throws Internal Server Error #505

creatorrr opened this issue Sep 18, 2024 · 0 comments · Fixed by #544

Comments

@creatorrr
Copy link
Contributor

Stacktrace:

agents-api-multi-tenant-1      |   File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 73, in app                                                                                                                      agents-api-multi-tenant-1      |     response = await f(request)                                                                                                                                                                             agents-api-multi-tenant-1      |                ^^^^^^^^^^^^^^^^                                                                                                                                                                             agents-api-multi-tenant-1      |   File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 297, in app                                                                                                                       agents-api-multi-tenant-1      |     raw_response = await run_endpoint_function(
agents-api-multi-tenant-1      |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
agents-api-multi-tenant-1      |   File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 210, in run_endpoint_function
agents-api-multi-tenant-1      |     return await dependant.call(**values)
agents-api-multi-tenant-1      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
agents-api-multi-tenant-1      |   File "/app/agents_api/routers/jobs/routers.py", line 52, in get_job_status
agents-api-multi-tenant-1      |     return JobStatus(
agents-api-multi-tenant-1      |            ^^^^^^^^^^
agents-api-multi-tenant-1      |   File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 193, in __init__
agents-api-multi-tenant-1      |     self.__pydantic_validator__.validate_python(data, self_instance=self)
agents-api-multi-tenant-1      | pydantic_core._pydantic_core.ValidationError: 1 validation error for JobStatus
agents-api-multi-tenant-1      | name
agents-api-multi-tenant-1      |   String should match pattern '^[\p{L}\p{Nl}\p{Pattern_Syntax}\p{Pattern_White_Space}]+[\p{ID_Start}\p{Mn}\p{Mc}\p{Nd}\p{Pc}\p{Pattern_Syntax}\p{Pattern_White_Space}]*$' [type=string_pattern_mismatch, input_value='23f0465f-4c05-424d-9c04-e40ef677c944', input_type=str]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant