AvatarEditorService:GetRecommendedAssets() HTTP 404 (bad request)

Developer hub claims the second argument to GetRecommendedAssets is optional, but I get an error when I don’t provide it. Am I doing something incorrectly, or is this a bug?

With ID

local recommended = avatarService:GetRecommendedAssets(Enum.AvatarAssetType.Hat, 9255093)
print(recommended)

image

Without ID

local recommended = avatarService:GetRecommendedAssets(Enum.AvatarAssetType.Hat)
print(recommended)

This might be a bug, unsure

Some asset IDs are restricted. This could be what the problem is. Roblox returned a restricted ID most likely. There is nothing that you can do about this, I don’t think.

1 Like

I don’t think this is the case, I didn’t give it any ID. It will only work when I do give it an ID