Roblox UtilitiesDevlHub Roblox Documentation

Enum

PromptCreateAvatarResult

Result codes returned by AvatarCreationService:PromptCreateAvatarAsync() indicating whether avatar creation succeeded or why it failed.

Result codes returned by AvatarCreationService:PromptCreateAvatarAsync() to indicate the outcome of an in-experience avatar creation flow. A value of PromptCreateAvatarResult.Success means the avatar was created and published; all other values identify the failure reason so the experience can surface an appropriate message to the player.

Items 12#

NameValueSummary
Success1The avatar was successfully created and published to the player's account.
PermissionDenied2The player explicitly declined the avatar creation consent prompt.
Timeout3The avatar creation consent prompt timed out before the player responded.
UploadFailed4The avatar assets passed validation but the server-side upload or bundle creation step failed.
NoUserInput5The player did not interact with the avatar creation consent prompt before it closed.
InvalidHumanoidDescription6The HumanoidDescription supplied to AvatarCreationService:PromptCreateAvatarAsync() was invalid and could not be used to create an avatar.
UGCValidationFailed7The avatar's geometry or content failed Roblox's UGC (User-Generated Content) validation checks.
ModeratedName8The proposed avatar name or description was rejected by Roblox moderation.
MaxOutfits9The player has reached the maximum number of outfits allowed on their Roblox account.
PurchaseFailure10The avatar creation attempt failed because the player did not have sufficient Robux to cover the required purchase.
UnknownFailure11An unexpected or unclassified failure occurred during avatar creation.
TokenInvalid12The creation token provided to AvatarCreationService:PromptCreateAvatarAsync() was not valid or did not match the current experience.