Data Types

ErrorResponse

Response body for client-side and server-side errors.

{
"code": String,
"details": Object,
"message": String
}
}
{
"error": {
"code": "error_code",
"details": {
"body.fileSize": {
"message": "min 0",
"value": -1
},
"body.mime": {
"message": "Not match in '[a-z0-9]+/[a-z0-9]+'",
"value": "image-jpeg"
}
},
"message": "Error message."
}
}

Machine-readable error code.

Example: "error_code"

Type: String

Min Length: 1

Max Length: 255

Additional machine-readable details relating to the error.

Type: Object

Human-readable error message.

Example: "Error message."

Type: String

Min Length: 1

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: