Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
ScopeCheckResult
Returned by an ExperienceAuthService scope-authorization callback to indicate whether the player granted, denied, or failed to complete a permission-consent flow. Callers such as AssetService and AvatarCreationService inspect this value to decide whether to proceed with the authorized action or surface an appropriate error to the developer.
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. |
ConsentAccepted
The player accepted the authorization prompt and a valid token was issued for the requested scopes.
| Field | Value |
|---|---|
| value | 0 |
InvalidScopes
The requested scopes are not recognized or are not permitted for the calling context.
| Field | Value |
|---|---|
| value | 1 |
Timeout
The scope-check request exceeded the configured timeout period before the player responded.
| Field | Value |
|---|---|
| value | 2 |
NoUserInput
The authorization prompt was dismissed without any explicit player action, such as when the player disconnects or the UI is closed without a response.
| Field | Value |
|---|---|
| value | 3 |
BackendError
The Roblox backend returned an error or unexpected HTTP status when exchanging the consent grant for an authorization token.
| Field | Value |
|---|---|
| value | 4 |
UnexpectedError
An unexpected error occurred that is not covered by a more specific result code.
| Field | Value |
|---|---|
| value | 5 |
InvalidArgument
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.
| Field | Value |
|---|---|
| value | 6 |
ConsentDenied
The player explicitly declined the authorization prompt.
| Field | Value |
|---|---|
| value | 7 |