Hello Moqui community,
I’m encountering an issue while uploading a document to Moqui via the frontend (using Postman or directly in the browser). The error message I receive is as follows:
“Caused by: com.fasterxml.jackson.core.exc.StreamConstraintsException: Document nesting depth (1002) exceeds the maximum allowed (1000, from StreamWriteConstraints.getMaxNestingDepth()
).”
The peculiar part is that when I upload the same document through the Moqui screen, I encounter no errors. However, when testing with Postman or the frontend, I consistently get this error.
Here are my observations:
- The Moqui screen upload works flawlessly.
- The issue arises only when using external clients (Postman or frontend).
- I’ve reviewed the document structure, headers, and payload, but I’m still facing this issue.
Could you please provide guidance on how to resolve this discrepancy? Are there any specific Jackson configuration settings I need to adjust for external requests?
Thank you in advance for your assistance!