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

Get Guild Error #1

Closed
denver-code opened this issue Jun 5, 2023 · 0 comments · Fixed by #2
Closed

Get Guild Error #1

denver-code opened this issue Jun 5, 2023 · 0 comments · Fixed by #2
Assignees
Labels
bug Something isn't working

Comments

@denver-code
Copy link
Owner

Route: /api/private/guild/647e1fd3efe1f85852a360ef
Detailed Error Log:

denscord_server_1  | INFO:     192.168.1.130:51279 - "GET /api/private/guild/647e1fd3efe1f85852a360ef HTTP/1.1" 500 Internal Server Error
denscord_server_1  | ERROR:    Exception in ASGI application
denscord_server_1  | Traceback (most recent call last):
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
denscord_server_1  |     result = await app(  # type: ignore[func-returns-value]
denscord_server_1  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
denscord_server_1  |     return await self.app(scope, receive, send)
denscord_server_1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/fastapi/applications.py", line 276, in __call__
denscord_server_1  |     await super().__call__(scope, receive, send)
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
denscord_server_1  |     await self.middleware_stack(scope, receive, send)
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
denscord_server_1  |     raise exc
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
denscord_server_1  |     await self.app(scope, receive, _send)
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/middleware/cors.py", line 83, in __call__
denscord_server_1  |     await self.app(scope, receive, send)
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
denscord_server_1  |     raise exc
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
denscord_server_1  |     await self.app(scope, receive, sender)
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
denscord_server_1  |     raise e
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
denscord_server_1  |     await self.app(scope, receive, send)
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
denscord_server_1  |     await route.handle(scope, receive, send)
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
denscord_server_1  |     await self.app(scope, receive, send)
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
denscord_server_1  |     response = await func(request)
denscord_server_1  |                ^^^^^^^^^^^^^^^^^^^
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/fastapi/routing.py", line 237, in app
denscord_server_1  |     raw_response = await run_endpoint_function(
denscord_server_1  |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
denscord_server_1  |   File "/opt/.cache/virtualenvs/denscord-9TtSrW0h-py3.11/lib/python3.11/site-packages/fastapi/routing.py", line 163, in run_endpoint_function
denscord_server_1  |     return await dependant.call(**values)
denscord_server_1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
denscord_server_1  |   File "/app/api/private/guild/guild.py", line 58, in get_guild
denscord_server_1  |     guild = GuildOut(**guild).dict()
denscord_server_1  |             ^^^^^^^^^^^^^^^^^
denscord_server_1  |   File "pydantic/main.py", line 341, in pydantic.main.BaseModel.__init__
denscord_server_1  | pydantic.error_wrappers.ValidationError: 1 validation error for GuildOut
denscord_server_1  | members_count
@denver-code denver-code self-assigned this Jun 5, 2023
@denver-code denver-code added the bug Something isn't working label Jun 5, 2023
@denver-code denver-code linked a pull request Jun 5, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant