1 min read

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

NameValueDescription
Success1The content object was created and stored successfully.
PermissionDenied2The user does not have the required permissions to perform this operation.
UploadFailed3Asset failed to upload.
StorageLimitExceeded4The storage budget limit for DataModel-scoped content was exceeded.
Unknown5An unknown error occurred.

Success

The content object was created and stored successfully.

FieldValue
value1

PermissionDenied

The user does not have the required permissions to perform this operation.

FieldValue
value2

UploadFailed

Asset failed to upload.

FieldValue
value3

StorageLimitExceeded

The storage budget limit for DataModel-scoped content was exceeded.

FieldValue
value4

Unknown

An unknown error occurred.

FieldValue
value5