Inventory API won't return classic collectibles for user ID 1

When using the Inventory API to scan user ID 1 for classic collectibles, it returns an error code indicating permission is denied. This behavior is inconsistent with the way the legacy Roblox inventory web API collectibles endpoint currently works.

The filter I’m using is onlyCollectibles=true.

The legacy inventory API collectibles endpoint does allow classic collectibles to be fetched from user ID 1 currently, so I believe the open cloud version should as well.

Here is the response I’m seeing:

{
  "code": "PERMISSION_DENIED",
  "message": "Caller does not have sufficient permissions to view the given user's Inventory!"
}

Expected behavior

I believe the response when using the onlyCollectibles=true filter on user ID 1 should return the account’s classic collectibles rather than returning a permission denied status code. This would make it correctly function like the equivalent legacy web API has been functioning for years.

A private message is associated with this bug report

1 Like

Hey, thanks for the report! The team is aware of this one. We’ll update you as soon as we can :slight_smile:

2 Likes

Hi, thanks for the submission. We will get to this shortly.

1 Like

Hi Rolimon, the fix has been shipped. You can use the filter like so: filter=onlyCollectibles=true;inventoryItemAssetTypes=*
Please let us know if you have any more questions or concerns!

1 Like

Thank you so much! I just tested it and I’m getting the same results as I do with the legacy endpoint I had been using for the Roblox account.

However, I was hoping it would also return the newer limiteds the Roblox account owns, but it doesn’t.

For example, Roblox owns a copy of this item, but that endpoint doesn’t return it:


You can see Roblox’s copy in the owner list, but the inventory endpoint doesn’t reflect that.

If you look at other items like this one, you can see a Roblox-owned copy in the owner list on my site, as well as in the inventory endpoint:

Do you know why the endpoint doesn’t return newer items? It seems to be missing all the collectibles added to the Roblox account since the 2.0 system migration.

1 Like

Thanks for sharing this info, we will investigate this shortly.

1 Like