Akamai · Schema

problem-details

Details the errors you can receive.

CDNCloudEdge ComputingNetworksPlatformSecurity

Properties

Name Type Description
detail string The detailed error message.
fieldErrors object Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.
instance string The non-referenceable URI that indicates the error instance.
status integer The HTTP status code.
title string The error title.
type string The URL for the error type.
View JSON Schema on GitHub

JSON Schema

akamai-problem-details-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/problem-details",
  "title": "problem-details",
  "additionalProperties": true,
  "description": "Details the errors you can receive.",
  "properties": {
    "detail": {
      "description": "The detailed error message.",
      "type": "string"
    },
    "fieldErrors": {
      "description": "Pointers to fields for which invalid input was provided, whose values are messages detailing the reason this input was invalid for this field.",
      "type": "object"
    },
    "instance": {
      "description": "The non-referenceable URI that indicates the error instance.",
      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
      "type": "string"
    },
    "status": {
      "description": "The HTTP status code.",
      "example": 404,
      "type": "integer"
    },
    "title": {
      "description": "The error title.",
      "example": "Not Found",
      "type": "string"
    },
    "type": {
      "description": "The URL for the error type.",
      "example": "https://problems.luna.akamaiapis.net/api-definitions/error-types/NOT-FOUND",
      "type": "string"
    }
  },
  "required": [
    "title",
    "type",
    "detail",
    "instance",
    "status"
  ],
  "type": "object",
  "x-akamai": {
    "file-path": "schemas/problem-details.yaml"
  }
}