Peak problem types
Home / homematch / agency_label_name_taken

The label name is taken.

Code
agency_label_name_taken
Type
https://problems.peakintelligence.ch/homematch/agency-label-name-taken
Status
409 Conflict
Audience
user. The person using the client can act on it. A client may show detail to them; it is worded in the request's language.
Service
homematch

Description

The write gives an agency label a name that another label already has; names are compared after normalisation, so differences of case or spacing do not make it distinct. Nothing was saved. Show the person the problem's detail and let them pick another name.

Example

HTTP/1.1 409 Conflict
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/agency-label-name-taken",
  "title": "The label name is taken.",
  "status": 409,
  "code": "agency_label_name_taken",
  "audience": "user",
  "traceId": "4bf92f3577b34da6a3ce929d0e0e4736"
}

A real answer also carries detail when there is something to say about this occurrence, and may carry errors or members of the type's own, which the service's OpenAPI document describes. When to ask again is the Retry-After header.

Declared by