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
------------------------------
Original Message:
Sent: Sat October 26, 2024 10:04 AM
From: Shah Wajahat
Subject: XML Parse Error
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
------------------------------