My Oracle Support Banner

The ApiFirewall Is Not Applying The MaxChildElementDepth Limit Properly (Doc ID 2559603.1)

Last updated on DECEMBER 22, 2020

Applies to:

Oracle Communications Services Gatekeeper - Version 6.1.0 and later
Information in this document applies to any platform.


The ApiFirewall is counting the number of characters "{" regardless of the closing of the objects for the limit given by MaxChildElementDepth. This means that a JSON containing a long list of low depth objects is being rejected.
Test shows in a JSON the number of opened braces is 2107 . With the MaxChildElementDepth to 2015 the message gets rejected. When changing it to 2016 (total of open braces minus one for the root) it goes through.

The MaxChildElementDepth should specify the maximum number of nested elements allowed in a message with the following format:


While for a maximum depth of 3, the JSON is rejected having a MaxChildElementDept of 1024.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.