Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
CreateContentResult
Returned as the first value in the tuple from AssetService:CreateDataModelContentAsync(), which creates a DataModel-scoped runtime content object at runtime. A value of Success means the content was created and stored successfully; any other value describes why the operation failed.
Items
| Name | Value | Description |
|---|---|---|
| Success | 1 | The content object was created and stored successfully. |
| PermissionDenied | 2 | The user does not have the required permissions to perform this operation. |
| UploadFailed | 3 | Asset failed to upload. |
| StorageLimitExceeded | 4 | The storage budget limit for DataModel-scoped content was exceeded. |
| Unknown | 5 | An unknown error occurred. |
Success
The content object was created and stored successfully.
| Field | Value |
|---|---|
| value | 1 |
PermissionDenied
The user does not have the required permissions to perform this operation.
| Field | Value |
|---|---|
| value | 2 |
UploadFailed
Asset failed to upload.
| Field | Value |
|---|---|
| value | 3 |
StorageLimitExceeded
The storage budget limit for DataModel-scoped content was exceeded.
| Field | Value |
|---|---|
| value | 4 |
Unknown
An unknown error occurred.
| Field | Value |
|---|---|
| value | 5 |