API Design · Junior · Question 13 of 75

Which status code fits 'email is already registered' when creating a user?

Explanation

409 means the request conflicts with the current state of the resource. Include a clear error code in the body.

Further reading

Problem with a question

API Design · Junior · question 13

Test yourself

Take the API Design · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz