Friendship Tracker

Error envelope

Uniform error body across every Friendship Tracker endpoint.

Every error response from Friendship Tracker carries the same body: detail is the English fallback (kept for legacy / curl), i18n is the bilingual form clients prefer.

Response shape

{
"detail": "Invalid credentials",
"i18n": { "en": "Invalid credentials", "de": "Ungültige Zugangsdaten" }
}

Status codes

Hover a code for a concrete example of what triggers it.

CodeMeaning
Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
422Validation error
429Too many requests
500Server error