Unclear error code for some nonexistent items

Unclear error code for some nonexistent items

in API Development

Posted by: poke.3712

poke.3712

Usually for items which “do not exist” (either undiscovered, or taken out of the game, or whatever), the error message from `item_details` is the following:

{"error":10,"product":0,"module":2,"line":376,"text":"invalid item_id"}

However, I noticed two ids 43948 and 43949 which produce a completely different error message, in a different product and line:

{"error":10,"product":71,"module":2,"line":135,"text":null}

What is the reason for this, and what does it mean?

@poke // GW2W //

Unclear error code for some nonexistent items

in API Development

Posted by: Dr Ishmael.9685

Dr Ishmael.9685

There was a thread about those two items a few weeks ago (I’d link it but forum search sucks). They appear in items.json, but return an error through item_details.json. The chat codes aren’t recognized by the client, so there’s no way to tell what these items are supposed to be.

Unclear error code for some nonexistent items

in API Development

Posted by: smiley.1438

smiley.1438

I belive Dr Ishmael means this one: https://forum-en.gw2archive.eu/forum/community/api/Bug-in-Items-api

(gotta love that error 500…)

Unclear error code for some nonexistent items

in API Development

Posted by: poke.3712

poke.3712

Good find! Now that you mention it, I’ve seen that thread before too! ^^

@poke // GW2W //