Skip to content

Conversation

@zhmyh1337
Copy link

@zhmyh1337 zhmyh1337 commented Dec 15, 2025

Fixes the ApiException 'Success value should be 1' error when calling get_my_inventory().

Problem:
Steam API returns HTTP 400 with null response when requesting count=5000 items, causing the error.

Solution:
Reduced default count parameter from 5000 to 2000 in both get_my_inventory() and get_partner_inventory() methods to avoid Steam's rate limiting.

Testing:
Verified with CS:GO inventory (730/2) - successfully retrieves items with new limit.

Fixes #391, Fixes #345, Fixes #410

Steam API returns HTTP 400 error when requesting count=5000 items.
Reduced default count parameter to 2000 to avoid rate limiting.
@zhmyh1337 zhmyh1337 force-pushed the fix/inventory-count-limit branch from 2bd0a4a to c1b444a Compare December 15, 2025 21:41
@AlphaGaming7780
Copy link

Also, by not specifying the count in the request params, it look like steam return the max number of item allowed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants