Box · Schema

OAuth 2.0 error

An OAuth 2.0 error

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing

Properties

Name Type Description
error string The type of the error returned.
error_description string The type of the error returned.
View JSON Schema on GitHub

JSON Schema

box-oauth2error-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OAuth2Error",
  "title": "OAuth 2.0 error",
  "type": "object",
  "x-box-resource-id": "oauth2_error",
  "x-box-tag": "authorization",
  "description": "An OAuth 2.0 error",
  "properties": {
    "error": {
      "type": "string",
      "example": "invalid_client",
      "description": "The type of the error returned."
    },
    "error_description": {
      "type": "string",
      "example": "The client credentials are not valid",
      "description": "The type of the error returned."
    }
  }
}