API field naming inconsistent with README docs — register expects 'name' not 'username' #25
Labels
No labels
blocked:needs-human
blocked:verify-failed
bug
feature-request
quickfix
security/high
security/medium
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/subvault#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug
The auth register endpoint expects the field
namebut frontend developers naturally sendusername.Evidence
usernamefield → 400:{"error":"Email, password, and name are required"}namefield → 201: SuccessSimilarly, subscription creation expects
billingDateandamountinstead of more intuitivepriceandbillingCycle.Impact
Two issues: (1) the error message doesn't tell the caller which field name to use, and (2) the API surface doesn't match common conventions.
Severity
BLUE Low — Works with correct field names, but confusing for new API consumers. Missing field name in error response makes debugging harder.
Fixed in commit. Closing.