Volleyball Elite Academy development update
|
Volleyball Elite Academy
Show the same friendlier duplicate-email error when admins create a new person
|
Show the same friendlier duplicate-email error when admins create a new personVolleyball Elite Academy — Development Update • May 19, 2026
--- title: Show the same friendlier duplicate-email error when admins create a new person ---
Show the same friendlier duplicate-email error when admins create a new person
## What & Why Task #1045 upgraded the duplicate-email guard on PATCH to return a 409 with . The sibling guard on POST ( ~line 561) still returns a flat 400 with the generic "A person with this email already exists" message. Bulk imports and the "Add person" flow hit the POST route, so admins get the worse error there.
## Done looks like - POST returns the same shape as PATCH (409 + structured ) when an email is already taken - The "Add person" UI surfaces the friendly "Email already on file for
" message without a second lookup hop - A route-level test in covers the new POST response shape
## Relevant files - (POST ~line 561) - (mirror as a POST companion test)
|
Volleyball Elite Academy Reply to this email — we read every reply. You received this because you have an account with Volleyball Elite Academy. elitevolleyball.training |
|
No comments:
Post a Comment