Jump to content
McKay Development

Recommended Posts

Posted (edited)

In about 50% of the cases when I try to get a CSGO inventory, I get EYldRefreshAppIfNecessary failed with EResult 55.

manager.getUserInventoryContents(SID, 7302false, (ERRUSERINVENTORY=> {

If I try to open my friends CSGO inventory using Steam, I will also get an error "This inventory is currently unavailable. Please try again later." in about 50% of cases.

But, if I offer a trade - the inventory will be available.

Why does this happen and can I use another method to get inventory?

 

Left image (profile - inventory), Right image - trade offer.

csgo_inv.png

Actually this problem is not permanent. Right now I am not getting this error.

But in the screenshot - I first opened the inventory (=error), after that I sent the trade offer (=all good). Reload inventory (=error), Reload trade offer (=all good).
I am sure of this and have checked it several times.

Edited by PonyExpress
Posted

Thank you for the information, but I would like to draw attention to this again:

21 hours ago, PonyExpress said:

But, if I offer a trade - the inventory will be available.

 

2. In addition, I conducted this experiment several times:

let notFriendSID = "76561198042084472";
 
    manager.getUserInventoryContents(notFriendSID7302false, (ERR=> {
        if (ERR) {
            console.log("getUserInventoryContents ERROR: " + ERR);
        } else {
            console.log("getUserInventoryContents OK!");
        }
    });
 
    setTimeout(function () {
        manager.loadUserInventory(notFriendSID7302false, (ERRINV=> {
            if (ERR) {
                console.log("loadUserInventory ERROR: " + ERR);
            } else {
                console.log("loadUserInventory OK!");
                console.log(INV);
            }
        });
    }, $SECOND * 3);
    return;

In many cases, I get: Error for getUserInventoryContents and OK for loadUserInventory (after 3 sec). 

Is this just a coincidence or loadUserInventory is working better?

Posted
5 hours ago, PonyExpress said:

Thank you for the information, but I would like to draw attention to this again:

 

2. In addition, I conducted this experiment several times:

let notFriendSID = "76561198042084472";
 
    manager.getUserInventoryContents(notFriendSID7302false, (ERR=> {
        if (ERR) {
            console.log("getUserInventoryContents ERROR: " + ERR);
        } else {
            console.log("getUserInventoryContents OK!");
        }
    });
 
    setTimeout(function () {
        manager.loadUserInventory(notFriendSID7302false, (ERRINV=> {
            if (ERR) {
                console.log("loadUserInventory ERROR: " + ERR);
            } else {
                console.log("loadUserInventory OK!");
                console.log(INV);
            }
        });
    }, $SECOND * 3);
    return;

In many cases, I get: Error for getUserInventoryContents and OK for loadUserInventory (after 3 sec). 

Is this just a coincidence or loadUserInventory is working better?

These are both different endpoints, the deprecated loadUserInventory is giving you a response because it is not used as much due to it being unstable. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...