Kerims23 / user_management

MIT License
0 stars 0 forks source link

UserId is none #2

Closed Kerims23 closed 3 days ago

Kerims23 commented 3 days ago

Second user has none for ID.

{"detail":[{"type":"uuid_parsing","loc":["path","user_id"],"msg":"Input should be a valid UUID, invalid character: expected an optional prefix of urn:uuid: followed by [0-9a-fA-F-], found N at 1","input":"None","ctx":{"error":"invalid character: expected an optional prefix of urn:uuid: followed by [0-9a-fA-F-], found N at 1"},"url":"https://errors.pydantic.dev/2.6/v/uuid_parsing"}]}

Kerims23 commented 3 days ago

This happened when I ran the docker compose exec fastapi alembic upgrade head and executed a login for the second user and tried to validate email in mailtrap.

Kerims23 commented 3 days ago

UserIdIsNoneIssue2 Kerims23/user_management

this should fix the userid is none issue.