How To
Summary
The default parse settings on DataPower have a max size limit of approximately 4 MB and a max width of 4096.
Within DataPower the properties defined by the map policy are saved in a temporary JSON file, which is read by the API Gateway service.
A large map policy can cause the overall size of the JSON document to exceed the limits defined in the default parse settings. Typically, such issues are observed with either large in line schemas and large JavaScript map action value properties. The following error may occur in the logs :
[0x8580006d][gatewayscript][error] apigw(myGateway): tid(44596816)[request][1.2.3.4] gtid(89762579671b6f100402195): Unable to parse the input data as XML: document size limit of 4194304 bytes exceeded, aborting.
API Connect 10.5.0.1 introduced a feature to allow usage of the parse-settings-reference object within the map policy. This feature allows users to override the limits defined in the default parse settings, and can be defined in the yaml source.
In previous releases, the map policy is not using an externalized object that can be changed.
Document Location
Worldwide
Log InLog in to view more of this document
Was this topic helpful?
Document Information
More support for:
IBM API Connect
Component:
API Connect->Developer (DV)->Composing API
Software version:
10.0.5 and future releases
Document number:
7010333
Modified date:
21 November 2024
UID
ibm17010333