Buzz API

score post Ivalid XML body error

Follow
Answered
Jarek Dudzicki

Hi, can somebody have a look at the posted XML body, i'm getting "message":"Invalid XML body", but the XML is valid :

"message":"Invalid XML body",

<?xml version="1.0" encoding="UTF - 8"?>
<imsx_POXEnvelopeRequest xmlns = "http://www.imsglobal.org/services/ltiv1p1/xsd/imsoms_v1p0">
<imsx_POXHeader>
<imsx_POXRequestHeaderInfo>
<imsx_version>V1.0</imsx_version>
<imsx_messageIdentifier>1537892509.68592</imsx_messageIdentifier>
</imsx_POXRequestHeaderInfo>
</imsx_POXHeader>
<imsx_POXBody>
<replaceResultRequest>
<resultRecord>
<sourcedGUID>
<sourcedId>1|72729631|i1_QQJ8F|VUHjkQR0Pte8efLwdh2y8A==</sourcedId>
</sourcedGUID>
<result>
<resultScore>
<language>en-us</language>
<textString>0.8</textString>
</resultScore>
</result>
</resultRecord>
</replaceResultRequest>
</imsx_POXBody>
</imsx_POXEnvelopeRequest>

 

 

{
"response":{
"code":"HttpServer",
"message":"Invalid XML body",
"errorId":"b32fd8efc63b40d8b792185c8b06dcfc"
}
}

Comments (1)

Sort by
Brad Marshall
  • Agilix team member

Hey Jarek, in general, I would recommend that you submit these type of questions through your authorized support contact. That way, we can make sure that they have visibility and a conclusion.

Briefly glancing at your error ID, it seems like the issue may be stemming from the encoding. Specifically, it should be `utf-8`, not `utf - 8` with spaces. 

0 Comment actions Permalink
Please sign in to leave a comment.