Azure APIM got 413 response when uploading larger content in request body .

Dnyaneshwar Surywanshi 41 Reputation points
2023-01-05T06:24:19.927+00:00

Hi all,
Curranty I am calling dynamics365 API and for that request I need to pass large content like 1M or 10M also but now I am getting 413 Request Entity Too Large so is there any way to handle the large file issue. More than 50MB the API will immediately return status code 413

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,750 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 21,091 Reputation points
    2023-01-05T11:45:22.207+00:00

    Hi @Dnyaneshwar Surywanshi Thanks for reaching out. APIM does not have a restriction on the entity size, it should be your backend returning 413 response code. You should be able to reproduce this if you send the exact same request payload to backend bypassing APIM.

    please verify by sending the request directly to your backend and let me know incase of further queries.

    1 person found this answer helpful.