Skip to content

Commit

Permalink
removed unsupported format
Browse files Browse the repository at this point in the history
  • Loading branch information
matweew authored Nov 22, 2023
1 parent 8d7b3ed commit 13acb34
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions docs/acp/user/app-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,27 +663,14 @@ 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
}
]
}
```

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" %}
Expand Down

0 comments on commit 13acb34

Please sign in to comment.