Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
PromptCreateAvatarResult
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
| Name | Value | Description |
|---|---|---|
| Success | 1 | The avatar was successfully created and published to the player's account. |
| PermissionDenied | 2 | The player explicitly declined the avatar creation consent prompt. |
| Timeout | 3 | The avatar creation consent prompt timed out before the player responded. |
| UploadFailed | 4 | The avatar assets passed validation but the server-side upload or bundle creation step failed. |
| NoUserInput | 5 | The player did not interact with the avatar creation consent prompt before it closed. |
| InvalidHumanoidDescription | 6 | The HumanoidDescription supplied to AvatarCreationService:PromptCreateAvatarAsync() was invalid and could not be used to create an avatar. |
| UGCValidationFailed | 7 | The avatar's geometry or content failed Roblox's UGC (User-Generated Content) validation checks. |
| ModeratedName | 8 | The proposed avatar name or description was rejected by Roblox moderation. |
| MaxOutfits | 9 | The player has reached the maximum number of outfits allowed on their Roblox account. |
| PurchaseFailure | 10 | The avatar creation attempt failed because the player did not have sufficient Robux to cover the required purchase. |
| UnknownFailure | 11 | An unexpected or unclassified failure occurred during avatar creation. |
| TokenInvalid | 12 | The creation token provided to AvatarCreationService:PromptCreateAvatarAsync() was not valid or did not match the current experience. |
Success
The avatar was successfully created and published to the player's account.
| Field | Value |
|---|---|
| value | 1 |
PermissionDenied
The player explicitly declined the avatar creation consent prompt.
| Field | Value |
|---|---|
| value | 2 |
Timeout
The avatar creation consent prompt timed out before the player responded.
| Field | Value |
|---|---|
| value | 3 |
UploadFailed
The avatar assets passed validation but the server-side upload or bundle creation step failed.
| Field | Value |
|---|---|
| value | 4 |
NoUserInput
The player did not interact with the avatar creation consent prompt before it closed.
| Field | Value |
|---|---|
| value | 5 |
InvalidHumanoidDescription
The HumanoidDescription supplied to AvatarCreationService:PromptCreateAvatarAsync() was invalid and could not be used to create an avatar.
| Field | Value |
|---|---|
| value | 6 |
UGCValidationFailed
The avatar's geometry or content failed Roblox's UGC (User-Generated Content) validation checks.
| Field | Value |
|---|---|
| value | 7 |
ModeratedName
The proposed avatar name or description was rejected by Roblox moderation.
| Field | Value |
|---|---|
| value | 8 |
MaxOutfits
The player has reached the maximum number of outfits allowed on their Roblox account.
| Field | Value |
|---|---|
| value | 9 |
PurchaseFailure
The avatar creation attempt failed because the player did not have sufficient Robux to cover the required purchase.
| Field | Value |
|---|---|
| value | 10 |
UnknownFailure
An unexpected or unclassified failure occurred during avatar creation.
| Field | Value |
|---|---|
| value | 11 |
TokenInvalid
The creation token provided to AvatarCreationService:PromptCreateAvatarAsync() was not valid or did not match the current experience.
| Field | Value |
|---|---|
| value | 12 |