API Connect

 View Only
Expand all | Collapse all

Unable to getting response from API, getting XML:stringify Error

  • 1.  Unable to getting response from API, getting XML:stringify Error

    Posted Wed December 22, 2021 04:25 AM
    Hello Team,

    When we hit the API then we are getting XML stringify error Please find Below Detail:








    ------------------------------
    Akshay Sawant
    ------------------------------


  • 2.  RE: Unable to getting response from API, getting XML:stringify Error

    Posted Thu December 23, 2021 11:40 AM

    Hi Akshay, 
    The error message indicates that the contents of message.body is a JSON object and not an XML DOM or Nodelist.  XML.stringify requires an XML DOM (Document) or Nodelist as its argument.  Try JSON.stringify to see what is in the body variable.


    Regards, 
    Steve



    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------