<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "apple-school-and-business-manager-api",
  "identifier" : "/documentation/AppleBusinessAPI/ErrorResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple Business API"
    ],
    "preciseIdentifier" : "data:AppleBusinessAPI:ErrorResponse"
  },
  "title" : "ErrorResponse"
}
-->

# ErrorResponse

The error details that an API returns in the response body whenever the API request isn’t successful.

```
object ErrorResponse
```

## Overview

### Example response

```json
     {
       "errors": [
         {
           "id": "d41f0ce2-8e12-41b7-bffd-91fd628f6628",
           "status": "404",
           "code": "NOT_FOUND",
           "title": "The specified resource doesn't exist",
           "detail": "There is no resource of type 'orgDevices' with id 'XABC123X0ABC123X0'"
         }
       ]
     }
```

## Topics

### Dictionaries

[`object ErrorResponse.Errors`](/documentation/AppleBusinessAPI/ErrorResponse/Errors-data.dictionary)

The details about an error that returns when an API request isn’t successful.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)