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.

 View Only
  • 1.  XML Parse Error

    Posted Sat October 26, 2024 10:05 AM

    Hi team 

    I am facing parse setting error Unable to parse input data as XML : document size limit of 4194304 byte exceeded as show in screenshot

    also change the xml  manager parse setting as show in picture

    also change the parse setting of parse policy as:

    give any other suggestion.

    Its urgent.



    ------------------------------
    Shah Wajahat
    ------------------------------


  • 2.  RE: XML Parse Error

    Posted Mon October 28, 2024 06:57 AM

    hey Shah Wajahat

    Attachment is missing.



    ------------------------------
    Stefen Salvatore
    ------------------------------



  • 3.  RE: XML Parse Error

    Posted Mon October 28, 2024 10:11 AM

    Hi Shah,
    The question I'd have is where are you seeing this error?  The parse policy by default has a default parsing limit with a 4MB max doc size, which is what you are running into.  If you are not seeing this on a parse policy, I would suggest you open a PMR.  There have been some issues fixed where parse policy options have been added to some policies, for example a map policy.  The map policy UI does not have any capability of creating this for you so you need to add it to the source policy options. Of course, I'm assuming you're using the API Gateway, and you should provide the DataPower debug logs that show the problem, the specific API (assuming this is specific to one API), and the DataPower version you are using in the Gateway.  What type of data is being parsed? XML? JSON? Binary?

    Best Regards,
    Steve Linn



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