Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2023-10-26 17:45:43.127
- +------------------------------------
- 2023-10-26 17:45:43.127
- | For further information visit https://errors.pydantic.dev/2.3/v/string_type
- 2023-10-26 17:45:43.127
- | Input should be a valid string [type=string_type, input_value=False, input_type=bool]
- 2023-10-26 17:45:43.127
- | second_fa_enabled
- 2023-10-26 17:45:43.127
- | For further information visit https://errors.pydantic.dev/2.3/v/missing
- 2023-10-26 17:45:43.127
- | Field required [type=missing, input_value=User(uuid=UUID('7795c09f-...ne, positions_uuid=None), input_type=User]
- 2023-10-26 17:45:43.127
- | role
- 2023-10-26 17:45:43.127
- | For further information visit https://errors.pydantic.dev/2.3/v/missing
- 2023-10-26 17:45:43.127
- | Field required [type=missing, input_value=User(uuid=UUID('7795c09f-...ne, positions_uuid=None), input_type=User]
- 2023-10-26 17:45:43.127
- | position
- 2023-10-26 17:45:43.127
- | For further information visit https://errors.pydantic.dev/2.3/v/missing
- 2023-10-26 17:45:43.127
- | Field required [type=missing, input_value=User(uuid=UUID('7795c09f-...ne, positions_uuid=None), input_type=User]
- 2023-10-26 17:45:43.127
- | last_name
- 2023-10-26 17:45:43.127
- | For further information visit https://errors.pydantic.dev/2.3/v/missing
- 2023-10-26 17:45:43.127
- | Field required [type=missing, input_value=User(uuid=UUID('7795c09f-...ne, positions_uuid=None), input_type=User]
- 2023-10-26 17:45:43.127
- | phone_confirmed
- 2023-10-26 17:45:43.127
- | For further information visit https://errors.pydantic.dev/2.3/v/string_type
- 2023-10-26 17:45:43.127
- | Input should be a valid string [type=string_type, input_value=False, input_type=bool]
- 2023-10-26 17:45:43.127
- | email_confirmed
- 2023-10-26 17:45:43.127
- | pydantic_core._pydantic_core.ValidationError: 6 validation errors for UserProfileSchema
- 2023-10-26 17:45:43.127
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.127
- | return cls.__pydantic_validator__.validate_python(
- 2023-10-26 17:45:43.127
- | File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 504, in model_validate
- 2023-10-26 17:45:43.127
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.127
- | return UserProfileSchema.model_validate(user)
- 2023-10-26 17:45:43.127
- | File "/code/src/routers/users.py", line 81, in get_current_user_profile
- 2023-10-26 17:45:43.127
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.127
- | return await dependant.call(**values)
- 2023-10-26 17:45:43.127
- | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
- 2023-10-26 17:45:43.127
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.127
- | raw_response = await run_endpoint_function(
- 2023-10-26 17:45:43.127
- | File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
- 2023-10-26 17:45:43.127
- | ^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.127
- | response = await func(request)
- 2023-10-26 17:45:43.127
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
- 2023-10-26 17:45:43.127
- | await self.app(scope, receive, send)
- 2023-10-26 17:45:43.127
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
- 2023-10-26 17:45:43.127
- | await route.handle(scope, receive, send)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
- 2023-10-26 17:45:43.126
- | await self.app(scope, receive, send)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
- 2023-10-26 17:45:43.126
- | raise e
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
- 2023-10-26 17:45:43.126
- | await self.app(scope, receive, sender)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
- 2023-10-26 17:45:43.126
- | raise exc
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
- 2023-10-26 17:45:43.126
- | await self.app(scope, receive_or_disconnect, send_no_error)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
- 2023-10-26 17:45:43.126
- | raise app_exc
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
- 2023-10-26 17:45:43.126
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- | return await call_next(request)
- 2023-10-26 17:45:43.126
- | File "/code/src/middlewares.py", line 53, in dispatch
- 2023-10-26 17:45:43.126
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- | response = await self.dispatch_func(request, call_next)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
- 2023-10-26 17:45:43.126
- | Traceback (most recent call last):
- 2023-10-26 17:45:43.126
- |
- 2023-10-26 17:45:43.126
- | During handling of the above exception, another exception occurred:
- 2023-10-26 17:45:43.126
- |
- 2023-10-26 17:45:43.126
- | anyio.EndOfStream
- 2023-10-26 17:45:43.126
- | raise EndOfStream
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 112, in receive
- 2023-10-26 17:45:43.126
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- | message = await recv_stream.receive()
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 78, in call_next
- 2023-10-26 17:45:43.126
- | Traceback (most recent call last):
- 2023-10-26 17:45:43.126
- |
- 2023-10-26 17:45:43.126
- | During handling of the above exception, another exception occurred:
- 2023-10-26 17:45:43.126
- |
- 2023-10-26 17:45:43.126
- | anyio.WouldBlock
- 2023-10-26 17:45:43.126
- | raise WouldBlock
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 92, in receive_nowait
- 2023-10-26 17:45:43.126
- | ^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- | return self.receive_nowait()
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/anyio/streams/memory.py", line 97, in receive
- 2023-10-26 17:45:43.126
- | Traceback (most recent call last):
- 2023-10-26 17:45:43.126
- +-+---------------- 1 ----------------
- 2023-10-26 17:45:43.126
- | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
- 2023-10-26 17:45:43.126
- | raise BaseExceptionGroup(
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/anyio/_backends/_asyncio.py", line 664, in __aexit__
- 2023-10-26 17:45:43.126
- | async with anyio.create_task_group() as task_group:
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 106, in __call__
- 2023-10-26 17:45:43.126
- | await self.app(scope, receive, send)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 146, in simple_response
- 2023-10-26 17:45:43.126
- | await self.simple_response(scope, receive, send, request_headers=headers)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/cors.py", line 91, in __call__
- 2023-10-26 17:45:43.126
- | await self.app(scope, receive, _send)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in __call__
- 2023-10-26 17:45:43.126
- | raise exc
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in __call__
- 2023-10-26 17:45:43.126
- | await self.middleware_stack(scope, receive, send)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/starlette/applications.py", line 122, in __call__
- 2023-10-26 17:45:43.126
- | await super().__call__(scope, receive, send)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/fastapi/applications.py", line 289, in __call__
- 2023-10-26 17:45:43.126
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- | return await self.app(scope, receive, send)
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
- 2023-10-26 17:45:43.126
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- | result = await app( # type: ignore[func-returns-value]
- 2023-10-26 17:45:43.126
- | File "/usr/local/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
- 2023-10-26 17:45:43.126
- + Exception Group Traceback (most recent call last):
- 2023-10-26 17:45:43.126
- 2023-10-26 17:45:43.126
- During handling of the above exception, another exception occurred:
- 2023-10-26 17:45:43.126
- 2023-10-26 17:45:43.126
- For further information visit https://errors.pydantic.dev/2.3/v/string_type
- 2023-10-26 17:45:43.126
- Input should be a valid string [type=string_type, input_value=False, input_type=bool]
- 2023-10-26 17:45:43.126
- second_fa_enabled
- 2023-10-26 17:45:43.126
- For further information visit https://errors.pydantic.dev/2.3/v/missing
- 2023-10-26 17:45:43.126
- Field required [type=missing, input_value=User(uuid=UUID('7795c09f-...ne, positions_uuid=None), input_type=User]
- 2023-10-26 17:45:43.126
- role
- 2023-10-26 17:45:43.126
- For further information visit https://errors.pydantic.dev/2.3/v/missing
- 2023-10-26 17:45:43.126
- Field required [type=missing, input_value=User(uuid=UUID('7795c09f-...ne, positions_uuid=None), input_type=User]
- 2023-10-26 17:45:43.126
- position
- 2023-10-26 17:45:43.126
- For further information visit https://errors.pydantic.dev/2.3/v/missing
- 2023-10-26 17:45:43.126
- Field required [type=missing, input_value=User(uuid=UUID('7795c09f-...ne, positions_uuid=None), input_type=User]
- 2023-10-26 17:45:43.126
- last_name
- 2023-10-26 17:45:43.126
- For further information visit https://errors.pydantic.dev/2.3/v/missing
- 2023-10-26 17:45:43.126
- Field required [type=missing, input_value=User(uuid=UUID('7795c09f-...ne, positions_uuid=None), input_type=User]
- 2023-10-26 17:45:43.126
- phone_confirmed
- 2023-10-26 17:45:43.126
- For further information visit https://errors.pydantic.dev/2.3/v/string_type
- 2023-10-26 17:45:43.126
- Input should be a valid string [type=string_type, input_value=False, input_type=bool]
- 2023-10-26 17:45:43.126
- email_confirmed
- 2023-10-26 17:45:43.126
- pydantic_core._pydantic_core.ValidationError: 6 validation errors for UserProfileSchema
- 2023-10-26 17:45:43.126
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- return cls.__pydantic_validator__.validate_python(
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/pydantic/main.py", line 504, in model_validate
- 2023-10-26 17:45:43.126
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- return UserProfileSchema.model_validate(user)
- 2023-10-26 17:45:43.126
- File "/code/src/routers/users.py", line 81, in get_current_user_profile
- 2023-10-26 17:45:43.126
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- return await dependant.call(**values)
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
- 2023-10-26 17:45:43.126
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- raw_response = await run_endpoint_function(
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/fastapi/routing.py", line 273, in app
- 2023-10-26 17:45:43.126
- ^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- response = await func(request)
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
- 2023-10-26 17:45:43.126
- await self.app(scope, receive, send)
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
- 2023-10-26 17:45:43.126
- await route.handle(scope, receive, send)
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/starlette/routing.py", line 718, in __call__
- 2023-10-26 17:45:43.126
- await self.app(scope, receive, send)
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in __call__
- 2023-10-26 17:45:43.126
- raise e
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in __call__
- 2023-10-26 17:45:43.126
- await self.app(scope, receive, sender)
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
- 2023-10-26 17:45:43.126
- raise exc
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
- 2023-10-26 17:45:43.126
- await self.app(scope, receive_or_disconnect, send_no_error)
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 70, in coro
- 2023-10-26 17:45:43.126
- raise app_exc
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 84, in call_next
- 2023-10-26 17:45:43.126
- ^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- return await call_next(request)
- 2023-10-26 17:45:43.126
- File "/code/src/middlewares.py", line 53, in dispatch
- 2023-10-26 17:45:43.126
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- 2023-10-26 17:45:43.126
- response = await self.dispatch_func(request, call_next)
- 2023-10-26 17:45:43.126
- File "/usr/local/lib/python3.11/site-packages/starlette/middleware/base.py", line 108, in __call__
- 2023-10-26 17:45:43.126
- Traceback (most recent call last):
- 2023-10-26 17:45:43.126
- ERROR: Exception in ASGI application
- 2023-10-26 17:45:43.122
- INFO: 10.40.96.229:0 - "GET /user/me HTTP/1.1" 500 Internal Server Error
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement