From 13acb34dbf8f8097ef2fc8a48e24a5f461e1527b Mon Sep 17 00:00:00 2001 From: Stanislav Matveyev Date: Wed, 22 Nov 2023 11:55:25 +0200 Subject: [PATCH] removed unsupported format --- docs/acp/user/app-configuration.md | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/docs/acp/user/app-configuration.md b/docs/acp/user/app-configuration.md index f00772b6ee9..870636c3466 100644 --- a/docs/acp/user/app-configuration.md +++ b/docs/acp/user/app-configuration.md @@ -663,7 +663,7 @@ The app response format for invalid request could be error for the whole form: { "errors": [ { - "code": 443, + "code": 443, // your custom code "message": "human readable message for a user, localized", "status": 400 } @@ -671,19 +671,6 @@ The app response format for invalid request could be error for the whole form: } ``` -or field-specific messages in the format: -``` -{ - "errors": [ - { - "code": 444, - "message": "{"\"fieldName1\": \"errorMessage\", \"fieldName2\": \"errorMessage\"}", - "status": 400 - } - ] -} -``` - In both cases HTTP status has to be `400`. {% info_block warningBox "Warning" %}