The parameters for the GetInventory method describe the first parameter as accepting an AssetType enum. However, this is the incorrect parameter enum type. The first parameter only accepts an AvatarAssetType enum and the method will error when trying to use the AssetType enum.
Page URL: https://create.roblox.com/docs/reference/engine/classes/AvatarEditorService#GetInventory