Layer7 API Management

 View Only
Expand all | Collapse all

Error message "Unable to read stream: the specified maximum data size limit would be exceeded"

  • 1.  Error message "Unable to read stream: the specified maximum data size limit would be exceeded"

    Posted Aug 04, 2021 09:09 PM
    Hello community
    we are getting the following error message "Unable to read stream: the specified maximum data size limit would be exceeded" from one of the application that connects to our API Gateway 9.4.CR5. It is when that particular application does an API call to upload a PDF file larger than 3 MB. The odd thing is that other applications, or SOAPui/PostMan clients, can load up documents larger than that size (we successfully load PDF files of 13 MB).
    I had a look in a few knowledge documents referring that error, mentioning a WS-Security setting, or the use of the variable io.xmlPartMaxBytes, both of  which we are not currently in use on our platform.

    My questions are:
    * has anyone had this kind of issue?
    * what is the best way to troubleshoot it?

    Many thanks for any insight.

    Laurent LANDREAU
    Integration Architect, Brisbane, Australia


  • 2.  RE: Error message "Unable to read stream: the specified maximum data size limit would be exceeded"

    Posted Aug 05, 2021 10:55 PM
    We found the issue - Topic closed.