Hey everyone!
I encountered a weird issue with the Layer 7 Gateway where the JSON Document Structure
assertion is unexpectedly treating my JSON input as XML. Here's the situation:
- The request comes in with the
Content-Type
set to application/json
and the content type validation passes successfully.
- But right after that, the
JSON Document Structure
assertion throws the error:
Unable to get request XML: Unable to read stream: the specified maximum data size limit would be exceeded
- It also flags a
JSON document structure threat detected
error.
Anyone else faced this issue? Any insights on why this is happening and how to resolve it? Thanks in advance! 😊
------------------------------
Balaji
------------------------------