Closed kennethloeffler closed 9 months ago
It also seems like @type
/ response_type
should be optional as well. When doing a GET
operation for a decal asset it seems to be missing. This is the struct I get back:
AssetGetOperation {
path: "operations/XXXX",
done: Some(true),
response: Some(AssetGetOperationResponse {
response_type: None,
path: "assets/15089823975",
revision_id: "1",
revision_create_time: "2023-10-16T18:43:17.533253800Z",
asset_id: "15089823975",
display_name: "hi guys",
description: "Uploaded by Tarmac.",
asset_type: "Decal",
creation_context: AssetCreationContext {
creator: User(AssetUserCreator {
user_id: "1091164489"
}),
expected_price: None
}
})
}
The
done
andresponse
fields are sometimes absent from asset get operations for recently created assets, resulting in errors like this:When this happens, it usually takes a few seconds before these fields are present in responses. Here's some output from me retrying this endpoint (now using optional
done
andresponse
) directly after creating an asset:I've only observed this behavior for fbx models. I don't know if it can occur with audio or images, and I'm not sure if it's a bug in the API, but I think rbxcloud should avoid just falling over here!