# Enum.ScopeCheckResult

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/ScopeCheckResult/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/ScopeCheckResult

Indicates the outcome of an [`ExperienceAuthService`](https://rapi.sleaze.dev/classes/ExperienceAuthService.md) scope-authorization request.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `ConsentAccepted` | 0 | The player accepted the authorization prompt and a valid token was issued for the requested scopes. |
| `InvalidScopes` | 1 | The requested scopes are not recognized or are not permitted for the calling context. |
| `Timeout` | 2 | The scope-check request exceeded the configured timeout period before the player responded. |
| `NoUserInput` | 3 | The authorization prompt was dismissed without any explicit player action, such as when the player disconnects or the UI is closed without a response. |
| `BackendError` | 4 | The Roblox backend returned an error or unexpected HTTP status when exchanging the consent grant for an authorization token. |
| `UnexpectedError` | 5 | An unexpected error occurred that is not covered by a more specific result code. |
| `InvalidArgument` | 6 | One or more arguments passed to the scope-check call were invalid, such as an empty scope list, a null player instance, or a player who is no longer in the experience. |
| `ConsentDenied` | 7 | The player explicitly declined the authorization prompt. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [ExperienceAuthService](https://rapi.sleaze.dev/classes/ExperienceAuthService.md): event parameter `ScopeCheckResult`; method parameter `ScopeCheckUIComplete`
