Errors
Username taken
The `username_taken` error: HTTP 409 Conflict.
Someone else in the brand has this username (the account API).
| Field | Value |
|---|---|
code | username_taken |
status | 409 Conflict |
title | Username taken |
Synq's APIs answer errors with a problem document (RFC 9457, application/problem+json). Its type is the address of this page, and its code is username_taken. Branch on code, never on title or detail: a code never changes once it ships, while the words may.
{
"type": "…/errors/username_taken",
"title": "Username taken",
"status": 409,
"code": "username_taken"
}See every error code.