2 min read

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

NameValueDescription
ConsentAccepted0The player accepted the authorization prompt and a valid token was issued for the requested scopes.
InvalidScopes1The requested scopes are not recognized or are not permitted for the calling context.
Timeout2The scope-check request exceeded the configured timeout period before the player responded.
NoUserInput3The authorization prompt was dismissed without any explicit player action, such as when the player disconnects or the UI is closed without a response.
BackendError4The Roblox backend returned an error or unexpected HTTP status when exchanging the consent grant for an authorization token.
UnexpectedError5An unexpected error occurred that is not covered by a more specific result code.
InvalidArgument6One 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.
ConsentDenied7The player explicitly declined the authorization prompt.

ConsentAccepted

The player accepted the authorization prompt and a valid token was issued for the requested scopes.

FieldValue
value0

InvalidScopes

The requested scopes are not recognized or are not permitted for the calling context.

FieldValue
value1

Timeout

The scope-check request exceeded the configured timeout period before the player responded.

FieldValue
value2

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.

FieldValue
value3

BackendError

The Roblox backend returned an error or unexpected HTTP status when exchanging the consent grant for an authorization token.

FieldValue
value4

UnexpectedError

An unexpected error occurred that is not covered by a more specific result code.

FieldValue
value5

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.

FieldValue
value6

ConsentDenied

The player explicitly declined the authorization prompt.

FieldValue
value7