Yeah, that might be because of bad data being submitted to the server through people editing the tutorial. Or it might just be because of my incredibly lazy way of parsing the XML response. If you're going to use this in an actual game, I would definitely recommend doing some better parsing, with conditions to check when the response is not properly formatted. String parsing is beyond the scope of this tutorial though, just wanted to keep it simple to demonstrate contacting the API.