I found an interesting scenario today and wondered how others are handling it - or are aware of it.
I have an Android app which calls out to a 3rd party webservice which returns some XML which I then parse and process. Some of this XML is very trivial, i.e. just a root element and a couple of child elements - no DTD or even XML headers. However, Insights is reporting errors with these calls - not for everyone but a significant number of users are affected.
So, with the last release I added the returned data to the Insights report and was surprised to see the content of an ISP portal page, i.e. html for a 'please login' page which is not part of the 3rd party system. ISP pages include the like of BT and Wifinity as well as hotspots for caravan parks and shopping centers.
Obviously I was expecting some specific XML but for some reason the device has connected to a network that requires additional authentication before allowing the request.
So, how to 'we' handle this scenario?