Peak problem types
Home / homematch / smg_agency_id_taken

The SMG agency id is taken.

Code
smg_agency_id_taken
Type
https://problems.peakintelligence.ch/homematch/smg-agency-id-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 sets an SMG agency id that another agency's credential already holds, and an id can belong to only one. Nothing was saved. Show the person the problem's detail and let them check the id; do not resend the same value.

Example

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

{
  "type": "https://problems.peakintelligence.ch/homematch/smg-agency-id-taken",
  "title": "The SMG agency id is taken.",
  "status": 409,
  "code": "smg_agency_id_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