Errors

profile_not_found

404 – No profile here. No Identity holds that Handle, or the Identity behind it was deleted.

No profile here. Answered with 404.

What it means

No Identity holds that Handle, or the Identity behind it was deleted. Both answer alike, word for word: a deleted Identity does not leak that it existed.

What to do

Check the Handle with GET /api/handles/{handle}: a name that is free is a name that never had a profile.

The body

{
  "type": "https://tigby.eu/problems/profile_not_found",
  "title": "No profile here",
  "status": 404,
  "detail": "…what was refused, naming this request's own values",
  "code": "profile_not_found",
  "doc_url": "https://docs.tigby.eu/errors/profile_not_found",
  "agent_hint": "…the next step, for software"
}

Branch on code. The detail names this request's own Handle, id or limit and is not part of the contract.