It's all about the answers!

Ask a question

Weird behavior using Rest get calls for Focal point:org.xml.sax.SAXParseException: Invalid byte 1 of 1-byte UTF-8 sequence


Jayshree Mhaske (336) | asked May 06 '13, 4:48 p.m.
We are using get.addRequestHeader("charset", "UTF-8") as encoding to get the xml response using rest from focal point in Java.
This works perfectly on few workspaces, where in throws above exception for few ones.
Even surprisingly its working for those workspaces too some times.

What could be the reason? If encoding is problem how it works sometimes on the same workspace?

Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.