Ability to Configure Request Size Limit when Converting PPTX to PDF through a Docker Container

Currently getting the following response when trying to convert bigger PPTX file on a self-hosted Docker Aspose Slides instance.

{
    "errors": {
        "": [
            "Failed to read the request form. Multipart body length limit 134217728 exceeded."
        ]
    },
    "type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
    "title": "One or more validation errors occurred.",
    "status": 400,
    "traceId": "|4ff820e4-427befef9e095776."
}

Is it possible that request body length limit can be configurable when running a Docker Aspose Slides container or at least bumped up to 512 mbs?

@Brandon_Napky,
Thank you for posting your question. I’ve added a ticket with ID SLIDESCLOUD-1609 to our issue-tracking system. Our development team will investigate the case. We will inform you of any progress.

1 Like

Hello Andrey, has there been any news regarding ticket SLIDESCLOUD-1609 ?

Thanks in advance!

@Brandon_Napky,
The issue has already been resolved in Aspose.Slides Cloud 22.12. The default value was changed for int.MaxValue. You can adjust the request and multipart body with environment variables MaxRequestBodySize and MultipartBodyLengthLimit.

1 Like

Thanks for the quick reply!

@Brandon_Napky,
Thank you for using Aspose.Slides Cloud.

@Andrey_Potapov This worked as expected, thanks for the help!