I have a large .fbx file (~20mb) in size. I am uploading it using OpenCloud Assets API using POST on /assets:
curl --location --request POST 'https://apis.roblox.com/assets/v1/assets' \
--header 'x-api-key: {apiKey}' \
--form 'request="{
\"assetType\": \"Model\",
\"displayName\": \"Name\",
\"description\": \"This is a description\",
\"creationContext\": {
\"creator\": {
\"userId\": \"${userId}\"
}
}
}"' \
--form 'fileContent=@"/filepath/model.fbx";type=model/fbx'
Although the operation is successful, I get back an operation id and done attribute is false:
{"path":"operations/075d0e3a-7c8a-4b3d-bb24-9e54d6c61554","operationId":"075d0e3a-7c8a-4b3d-bb24-9e54d6c61554","done":false}
Querying the operation id on GET /v1/assets returns the same, done has been false for hours now. The asset is not in my inventory.
Is there a problem?
References: Assets API | Documentation - Roblox Creator Hub