Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
nivedhitha
Creator III
Creator III

Error with tRest component (XML POST body)

Hi,

 

I'm making a POST API call using the access token and I have to pass a XML body. I was able to get the desired result with the same credentials using the Postman application.

When I paste the same contents here in tRest im getting the below response

 

<Envelope>

<Body> <RESULT>

<SUCCESS>false</SUCCESS>

</RESULT>

<Fault>

<Request/>

<FaultCode/>

<FaultString><![CDATA[Session has expired or is invalid]]></FaultString>

<detail>

<error>

<errorid>145</errorid>

<module/>

<class>SP.Admin</class>

<method/>

</error>

</detail>

</Fault> </Body>

</Envelope>

 

Attaching try screenshot of my tRest component. I think I have to escape < and > but not sure. Can any of you please help me out?

If I have to escape these special characters, how do I do it?

 

Thanks,

 

Labels (4)
0 Replies