We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here's the full log of the error when call reverse lookup with just that id (using POST http method)
Traceback (most recent call last): File "/home/nru/.local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 408, in run_asgi result = await app( # type: ignore[func-returns-value] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nru/.local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in __call__ return await self.app(scope, receive, send) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nru/.local/lib/python3.11/site-packages/fastapi/applications.py", line 1106, in __call__ await super().__call__(scope, receive, send) File "/home/nru/.local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__ await self.middleware_stack(scope, receive, send) File "/home/nru/.local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__ raise exc File "/home/nru/.local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__ await self.app(scope, receive, _send) File "/home/nru/.local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 91, in __call__ await self.simple_response(scope, receive, send, request_headers=headers) File "/home/nru/.local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 146, in simple_response await self.app(scope, receive, send) File "/home/nru/.local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__ raise exc File "/home/nru/.local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__ await self.app(scope, receive, sender) File "/home/nru/.local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__ raise e File "/home/nru/.local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__ await self.app(scope, receive, send) File "/home/nru/.local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__ await route.handle(scope, receive, send) File "/home/nru/.local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle await self.app(scope, receive, send) File "/home/nru/.local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app response = await func(request) ^^^^^^^^^^^^^^^^^^^ File "/home/nru/.local/lib/python3.11/site-packages/fastapi/routing.py", line 292, in app content = await serialize_response( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/nru/.local/lib/python3.11/site-packages/fastapi/routing.py", line 155, in serialize_response raise ResponseValidationError( fastapi.exceptions.ResponseValidationError: 1 validation errors: {'type': 'dict_type', 'loc': ('response', 'PUBCHEM.COMPOUND:107526'), 'msg': 'Input should be a valid dictionary', 'input': [], 'url': 'https://errors.pydantic.dev/2.5/v/dict_type'} 2023-12-19T19:39:03.864001182-05:00
The text was updated successfully, but these errors were encountered:
Update server.py
35cd2d5
Pydantic errors with a 500 when the returned object doesn't match with the spec of the response. fixes #129
https://github.com/TranslatorSRI/NameResolution/issues/129
227ad4a
Merge pull request #130 from TranslatorSRI/fix-reverse-lookup-resp
a6e1762
Successfully merging a pull request may close this issue.
Here's the full log of the error when call reverse lookup with just that id (using POST http method)
The text was updated successfully, but these errors were encountered: