I'm using node-steamcommunity to get user's inventory The module responded "[Error: malformed response]" After doing some debugging I've managed to see the raw response from steamcommunity server (request to: https://steamcommunity.com/profiles/STEAM_ID/inventory/json/570/1/): The response is
{"success": false}
The problem is that the normal response should contain the error like this:
{"success": false, "Error": "The profile is private"}
So now I can neither get the user's inventory nor the reason why I can't do this. Could some one point me to the right way of getting the user's inventory from steam
Update:
after doing some investigation I've found something interesting:
- When I login as a normal user, i get a sessionid.
- With that key I can access to profile inventory
- When I start bot I get also get sessionId but when I'm trying to request with bot's session id I get the { success: false} response without any explanation.
Does anyone has an idea what is wrong?