Skip to main content

Validation

This error indicates a problem in the input information provided with the request. Please validate that the parameters you provided with the request are correct.

This object implements RFC 9457 Problem Details for HTTP APIs

typestringrequired

A URI identifying the problem type of Validation per RFC-9457.

Constant value: https://api.cyanite.ai/v1/problems/validation
titlestringrequired

The name of this error

Constant value: Validation problem
statusnumberrequired

Indicates the HTTP response code associated with this error.

Constant value: 422
resourcestringrequired

The API resource that was requested when this error was triggered.

detailstring

Any additional contextual detail regarding the cause of the error.

errors object[]

A list of the specific fields or parameters that failed validation, following the validation error example in RFC 9457 section 3.

  • Array [
  • detailstringrequired

    A human-readable explanation of why this field or parameter is invalid.

    pointerstringrequired

    A JSON Pointer per RFC 6901 to the value that failed validation. It is rooted at the request as a whole, so its first segment is the part of the request the value came from, such as body or query.

    Example: /body/tracks/6/id
  • ]
  • Validation
    {
    "type": "https://api.cyanite.ai/v1/problems/validation",
    "title": "Validation problem",
    "status": 422,
    "resource": "string",
    "detail": "string",
    "errors": [
    {
    "detail": "string",
    "pointer": "/body/tracks/6/id"
    }
    ]
    }