IBM Support

API Connect Map Policy adjusting parse settings

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


[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"ARM Category":[{"code":"a8m50000000CeEkAAK","label":"API Connect-\u003EDeveloper (DV)-\u003EComposing API"}],"ARM Case Number":"TS013364556","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0.5;and future releases"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

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

Manage My Notification Subscriptions