AvatarEditorService:GetBatchItemDetails() throws 406 error if an asset is deleted

Reproduction StepsAttempt to get product info on an asset that has been deleted by Roblox moderation.

Like so:

print(game:GetService("AvatarEditorService"):GetBatchItemDetails({3449040447}, Enum.AvatarItemType.Asset))

It will return a 406 error. This completely invalidates any call that contains more than just this asset. Developers shouldn’t be expected to know if an asset is deleted or not, please just do not return information on it.Expected BehaviorI blindly throw hundreds of item ids into this function at once (100 at a time), and I expect most of them to be processed and return data. When it completely throws this error, I also lose all of the other item data that has been requested. I expect if item data is not available for whatever reason, for it to not return anything at all.Actual BehaviorAll of the data I’m attempting to request is completely lost. I have to call this function multiple times over, each time removing an ID to test if the data will come through. Issue Area: Engine
Issue Type: Connectivity
Impact: High
Frequency: Constantly

2 Likes

Sorry for being late to this topic. Just to confirm, we have a ticket filed in our internal database for this issue.