Error Format
When an error occurs, the response body contains an error code, error message, and optional parameters.
Part
Description
{
"status_code": 401,
"reason_phrase": "Unauthorized",
"body": {
"message": "The consumer isn't authorized to access %resources.",
"parameters": {
"resources": "Magento_Sales::actions_view"
}
}
}Last updated