Peak problem types
Home / homematch / supply_contract_outdated

The integration was built for an older provider contract.

Code
supply_contract_outdated
Type
https://problems.peakintelligence.ch/homematch/supply-contract-outdated
Status
400 Bad Request
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 X-Provider-Contract header names a provider contract generation older than the one this server answers, so the request was refused before any work was done. The `requiredContract` member carries the generation to update to. This is a client defect: update the integration to that generation and send it in the header; repeating the same request is refused again.

Example

HTTP/1.1 400 Bad Request
Content-Type: application/problem+json

{
  "type": "https://problems.peakintelligence.ch/homematch/supply-contract-outdated",
  "title": "The integration was built for an older provider contract.",
  "status": 400,
  "code": "supply_contract_outdated",
  "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