Character error message interpretation

#1 - Aug. 3, 2011, 3:04 p.m.
Blizzard Post
Hello,


I'd like to confirm the difference between two types of character error messages that I'm seeing:

404 (Character not found.)
500 (Character unavailable) (I get this very rarely)

I'm assuming the 404 means the character does not exist in the game at all, while the 500 means the character may exist but cannot currently be retrieved.

The reason this distinction matters to me is that I'd like to use 404s to prune transferred/deleted characters from my database, but I don't want to zap somebody's character just because they haven't played in a while or the Armory API server is having a bad day or something.

My thought is to do nothing on the "500 (Character unavailable)" but mark characters for deletion on "404 (Character not found)." Am I safe in doing so?

(And yes, I am actually checking the "reason" strings and not just the HTTP code)

Thanks!
Forum Avatar
Web & Mobile Team
#2 - Aug. 3, 2011, 4:46 p.m.
Blizzard Post
500 (Character unavailable) (I get this very rarely)


Every now and then we get data for a character that we can't process. The reasons vary, but often it is the translation of game data to data that we can process. The character unavailable error is returned on those such occasions.