'FavoriteCount' is missing from GetBatchItemDetails when 2 or more AssetIds are supplied

When two or more IDs are included in AvatarEditorService:GetBatchItemDetails the property ‘FavoriteCount’ is excluded.

For example:

local detailA = ((game:GetService("AvatarEditorService"):GetBatchItemDetails({106690045, 12577535715}, Enum.AvatarItemType.Asset))[1])
local detailB = ((game:GetService("AvatarEditorService"):GetBatchItemDetails({106690045}, Enum.AvatarItemType.Asset))[1])
for k, v in pairs(detailB) do
	if not detailA[k] then
		print(k.." is missing")
	end
end

Returns:

10:27:58.419 FavoriteCount is missing

Expected behavior

FavoriteCount should remain within the item results. It currently makes displaying Favorites impossible for an in-experience Avatar Editor as GetBatchItemDetails is necessary (over just GetItemDetails) due to rate limits which would otherwise be exceeded.

2 Likes

Thanks for the report! We’ll follow up when we have an update for you.

3 Likes

Thanks for reporting the issue. We don’t support favorites for requests with more than 1 Ids as they can slow down your calls. We plan to optimize this experience in the future.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.