From 49621e5348b2e91fbceecac15145c1d601fe6750 Mon Sep 17 00:00:00 2001 From: Many the fish Date: Thu, 25 May 2023 12:16:48 +0200 Subject: [PATCH 1/2] Update 0061-error-format-and-definitions.md Update error message in the specification --- text/0061-error-format-and-definitions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/0061-error-format-and-definitions.md b/text/0061-error-format-and-definitions.md index 63b5c767..9b69bbd3 100644 --- a/text/0061-error-format-and-definitions.md +++ b/text/0061-error-format-and-definitions.md @@ -1829,7 +1829,7 @@ HTTP Code: `413 Payload Too Large` ```json { - "message": "The provided payload reached the size limit.", + "message": "The provided payload reached the size limit. The maximum accepted payload size is :playloadSizeLimit.", "code": "payload_too_large", "type": "invalid_request", "link": "https://docs.meilisearch.com/errors#payload_too_large" From d03f8163ea34c21b3d0af949bfac510bb9e2b7ce Mon Sep 17 00:00:00 2001 From: Many the fish Date: Thu, 25 May 2023 12:22:07 +0200 Subject: [PATCH 2/2] Update open-api.yaml --- open-api.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/open-api.yaml b/open-api.yaml index 99cf5bbd..9109cacc 100644 --- a/open-api.yaml +++ b/open-api.yaml @@ -1208,7 +1208,7 @@ components: examples: Payload Too Large: value: - message: The provided payload reached the size limit. + message: The provided payload reached the size limit. The maximum accepted payload size is 20.00 MiB. code: payload_too_large type: invalid_request link: 'https://docs.meilisearch.com/errors#payload_too_large'