Peak problem types
Home / homematch / saved_home_collection_too_deep

Collections nest one level deep.

Code
saved_home_collection_too_deep
Type
https://problems.peakintelligence.ch/homematch/saved-home-collection-too-deep
Status
409 Conflict
Audience
client. Only the calling software can act on it. A client shows its own general failure and quotes traceId; detail is in English, for developers.
Service
homematch

Description

The change would put a collection two levels deep: its parent is itself a subcollection, or it has subcollections of its own and would receive a parent. Collections nest one level only. This is a client defect: do not offer such a move.

Example

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

{
  "type": "https://problems.peakintelligence.ch/homematch/saved-home-collection-too-deep",
  "title": "Collections nest one level deep.",
  "status": 409,
  "code": "saved_home_collection_too_deep",
  "audience": "client",
  "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