Post Result Show "type": "entity.too.large",

I create a Post API to transfer a CSV data. When i click SEND, it give:

“expected”: 3917800,
“length”: 3917800,
“limit”: 102400,
“type”: “entity.too.large”,
“level”: “error”,
“event”: “request entity too large”,
“timestamp”: 1730204397803,
“entity.name”: “echo: production”,
“entity.type”: “SERVICE”,
“hostname”: “echo-deployment-production-64bf6699bb-5x4c5”,
“trace.id”: “7014c8bff777bdbca9d0a25780a481ab”,
“span.id”: “7e8f3f7ff5ef9ff8”,
“entity.guid”: “MjY2NTkxOHxBUE18QVBQTElDQVRJT058MTQxNzMwNTI4Ng”
}

When i try with small data, no issue.

I use web.postman. Is there anyway to increase post_max_size??

Kindly help how to solve this issue. TQ

Hi @altimetry-physicist4. Welcome to the Postman community!

What’s the size of the file you’re trying to POST?

What is the status code of the response?

It looks like that JSON response is coming from the server/API?

It looks like you are sending a 4MB size request, when the limit is 1MB.

So if you need to increase the size limit then it would be a HTTP server side setting.

The HTTP client (browser or other user agent like Postman) can have its own limitations.

I’m not aware of any limits on the request size in Postman, but there is on the response size which is set to 50mb as default (but can be changed in the settings).

@gbadebo-bello might be able to advise if there are any such client side limitations in the Web Client.

If this is against the Postman Mock service, then if I remember rightly it has a 1 MB limit (which can’t be changed).

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.