[REST] Recovery answer
Bug na recuperação da conta por pergunta secreta:
INFO: 127.0.0.1:36894 - "POST /recover HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 372, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
return await self.app(scope, receive, send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/fastapi/applications.py", line 261, in __call__
await super().__call__(scope, receive, send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/applications.py", line 112, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in __call__
raise exc
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/middleware/cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/middleware/cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in __call__
raise exc
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
raise e
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/routing.py", line 656, in __call__
await route.handle(scope, receive, send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/routing.py", line 259, in handle
await self.app(scope, receive, send)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/starlette/routing.py", line 61, in app
response = await func(request)
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/fastapi/routing.py", line 235, in app
response_data = await serialize_response(
File "/home/befree/dev/envs/bbx1/lib/python3.8/site-packages/fastapi/routing.py", line 138, in serialize_response
raise ValidationError(errors, field.type_)
pydantic.error_wrappers.ValidationError: <unprintable ValidationError object>