That’s because the AssetId key/field of the table value returned by GetProductInfo() matches the ID that was passed as an argument to it. You need to iterate over the catalog IDs behind the requested decal ID in order to retrieve its corresponding image ID.