Skip to content

How to accept HTTP requests with body size > 100MB #11525

@eddynaka

Description

@eddynaka

Is your question related to a specific version? If so, please specify:

No specific version.

What language does your question apply to? (e.g. C#, JavaScript, Java, All)

C#

Question

I have a dotnet-isolated azure function running on Windows in .NET 8 in AppServices.

The function has HTTP triggers which works very well for requests under 100MB. For requests greater than that, it just fails with 500 without reaching my code.

Tried some settings such as:

  • Updating the host and including extensions -> http -> maxRequestBodySize
  • Adding environment variables WEBSITE_MAX_REQUEST_LENGTH and WEBSITE_MAX_BODY_SIZE

Given that, do you have guidance on how to increase such limits (from 100MB to something else)?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions