Skip to content

AdminBadRequest ​

Type: response

Description ​

The request is invalid or cannot be completed in the current state.

TypeScript Definition ​

typescript
AdminBadRequest: {{
            headers: {
                [name: string]: unknown;
            };
            content: {
                "application/json": {
                    message: string;
                    success: boolean;
                    code?: string;
                    /** @description Validation details as a field map, a bulk list or a string. */
                    errors?: {
                        [key: string]: unknown;
                    } | unknown[] | string;
                    content?: {
                        [key: string]: unknown;
                    };
                    details?: string;
                };
            };
        };
        /** @description The request could not be completed. Quote error_id, when present, when contacting support. */
}

OpenAPI Schema ​

json
{
  "description": "The request is invalid or cannot be completed in the current state.",
  "content": {
    "application/json": {
      "schema": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          },
          "success": {
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "errors": {
            "description": "Validation details as a field map, a bulk list or a string.",
            "anyOf": [
              {
                "type": "object",
                "additionalProperties": true
              },
              {
                "type": "array"
              },
              {
                "type": "string"
              }
            ]
          },
          "content": {
            "additionalProperties": true,
            "type": "object"
          },
          "details": {
            "type": "string"
          }
        },
        "required": [
          "message",
          "success"
        ]
      }
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: