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

/users/me returns 500 (GET/POST) - pydantic issue #66

Closed
McSlow opened this issue Sep 14, 2019 · 2 comments
Closed

/users/me returns 500 (GET/POST) - pydantic issue #66

McSlow opened this issue Sep 14, 2019 · 2 comments

Comments

@McSlow
Copy link

McSlow commented Sep 14, 2019

issue

hi, currently something seems to be wrong with the pydantic validations on the user model.
Any get/post to /users/me returns a 500.
Logs:

backend_1        | pydantic.error_wrappers.ValidationError: 1 validation error for User
backend_1        | response
backend_1        |   value is not a valid dict (type=type_error.dict)

Request payload looks like a dict :)
image

how to reproduce

fresh cookiecutter generated project, log with admin into frontend, change own username/email etc.

@McSlow
Copy link
Author

McSlow commented Sep 14, 2019

ok. that was #43 .

@McSlow McSlow closed this as completed Sep 14, 2019
@tiangolo
Copy link
Owner

Thanks for reporting back and closing the issue 👍

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

No branches or pull requests

2 participants