This is a Postman
specific error and it is generated because there is a Max Response Size
limit available in the settings. By default it is 50 MB. Which means, Postman will fail the request if the response size exceeds 50 MBs.
Since, you are receiving JSON
data along with file part or file base64 string
(base64
is usually around 30% larger in size of the actual file, you might want to check that as well), it is more likely to complain about response size exceeding the limit because default limit is 50 MB and files can be bigger than that.
You can change the value to desired by going in the Postman Settings under General and modifying the default value for Max response size in MB
to your desired value in MBs. Or set it to 0
in case you want to download the response of any size.