<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "AccountOrganizationalDataSharing",
  "identifier" : "/documentation/AccountOrganizationalDataSharing/ErrorResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Dictionary",
  "symbol" : {
    "kind" : "Dictionary",
    "modules" : [
      "Account & Organizational Data Sharing"
    ],
    "preciseIdentifier" : "data:oauth2:ErrorResponse"
  },
  "title" : "ErrorResponse"
}
-->

# ErrorResponse

The error object returned after an unsuccessful request.

```
object ErrorResponse
```

## Overview

The `error` property is one of the following values:

- `invalid_request`: A malformed request, typically because it’s missing a parameter, contains an unsupported parameter, includes multiple credentials, or uses more than one mechanism for authenticating the client.
- `invalid_client`: The client authentication failed, typically due to a mismatched or invalid client identifier, invalid client secret (expired token, malformed claims, or invalid signature), or mismatched or invalid redirect URI.
- `invalid_grant`: The authorization grant or refresh token is invalid, typically due to a mismatched or invalid client identifier, invalid code (expired or previously used authorization code), or invalid refresh token.
- `unauthorized_client`: The client isn’t authorized to use this authorization grant type.
- `unsupported_grant_type`: The authenticated client isn’t authorized to use this grant type.
- `invalid_scope`: The requested scope is invalid.

---

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)