API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
  • 1.  Unable to getting response from API, getting XML:stringify Error

    Posted 12/22/21 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 12/23/21 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
    ------------------------------