Request Entity too large error message change

Description

When a request payload is too large two different errors may currently be thrown by the platform API.

If the payload is over 6MB then the following message and code will be returned The request is over the size limit. Maximum bytes: x, request.payload.too.large.

If the payload is over 3MB but under 6MB then the following message and code will be returned The request is over the size limit. Content-Length: x, request.payload.size.too.large.

A change will be made so that all request payload size exceeded errors will return a new message and code The request is over the size limit. Content-Length: x, Maximum bytes: y', request.entity.too.large`.

The HTTP status code of 413 will not change.

Change Category

API

Change Context

Error consistency

Change Impact

Error message and error codes will change for 413 request payload size exceeded.

Date of Change

Apr 05, 2022

Impacted APIs

All POST/PUT/PATCH

References

API-6597

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