Skip to content

/auth/register error response #6

Description

@mmahmoodictbd

When email already exists in the system, API throws following with HTTP status code 500:
{ "email": [ "has already been taken" ] }

Response code should be 400 bad request.
Simplified API response would help mobile app. Proposed format:
{ "validationMessage": "Email already exist, try login." }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions