get-items and get-stash-items not properly working?

I have been using these two querys for a long time to import my assets into Excel:

http://www.pathofexile.com/character-window/get-items?character=...&accountName=...
http://www.pathofexile.com/character-window/get-stash-items?league=standard&tabIndex=...&tabs=0&accountName=...

Seems to me, they recently stopped working? The first one only returns EQUIPPED items, but not those in the character's inventory. And the second one simply returns "false"

I would look for an error in the session ID or something, but I am confused because the first command does return some data, but only partial data.

Has anything been changed recently about these queries? Can some helpful dev shed some light on this?

Thank you!
Last bumped on Jun 17, 2016, 2:41:19 AM
Your Livlim character seems to work fine for me.

I'm guessing it MIGHT be a session authentication issue... in which case you can just add your cookie to whatever library you're using to make the request.

I'm not sure what else you're expecting to see there. If you hit it directly does it look different than the data the other stuff is pulling? If so, you've found the culprit.

Edit: I also verified the stash one, and it works as expected. When I query your stash, I get no data because I'm not you, but if I query my own, I get the data as expected.

It's almost certainly a session/cookie issue.
Last edited by Drakier#1520 on Jun 16, 2016, 8:28:25 PM
Drakier, thank you very much!

Good idea to test it in the browser, should have thought of that first.

And it works, I see all data, inventory and stashes.

So the culprit, as you say, is in the call, not the return.

I am using "PHPSESSID=..." as a cookie in the header of a WinHttp call.

This has worked fine so far, and the ID is current. Will have to look into it.

But PoE is definitely not causing the problem. /Thread

Cheers
Arch
Okay, found the reason:

The name of the cookie that pathofexile.com uses was changed from "PHPSESSID" to "POESESSID".

Had to update the script accordingly, it is working fine again.

Now that I know what to look for, this change had already been mentioned on Reddit:

http://www.reddit.com/r/pathofexiledev/comments/3wfe5r/important_change_for_tool_developers/

Might help other people who have the same problem ...

Cheers
Arch

Report Forum Post

Report Account:

Report Type

Additional Info