From 3230afae6151bebb14a6a65ccf385d68a9a93fb2 Mon Sep 17 00:00:00 2001 From: filoxenace Date: Sat, 7 Mar 2026 13:37:20 -0500 Subject: [PATCH] fix: use itemconfiguration endpoint for get_collectible_item_id --- pyproject.toml | 2 +- src/rbx_upload/client.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index df07c5d..ed1435a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "rbx-upload" -version = "0.2.6" +version = "0.2.7" description = "Roblox asset upload client" requires-python = ">=3.13" dependencies = [ diff --git a/src/rbx_upload/client.py b/src/rbx_upload/client.py index 2fe365b..bbf8c89 100644 --- a/src/rbx_upload/client.py +++ b/src/rbx_upload/client.py @@ -293,11 +293,11 @@ class RobloxClient: """Look up the collectible item ID (UUID) for a given asset ID, retrying until available.""" for _ in range(max_attempts): response = await self._http.get( - self._proxy_url(f"https://economy.roblox.com/v2/assets/{asset_id}/details"), + f"https://itemconfiguration.roblox.com/v1/collectibles/0/{asset_id}", cookies=self._csrf_cookies, ) response.raise_for_status() - collectible_item_id = response.json().get("CollectibleItemId") + collectible_item_id = response.json().get("collectibleItemId") if collectible_item_id: return collectible_item_id await asyncio.sleep(poll_interval)