-
Notifications
You must be signed in to change notification settings - Fork 0
Error Responses
조성재 edited this page Feb 17, 2020
·
2 revisions
If there are invalid or missing data items on request, webpi will respond with 400.
"data" includes, parameter, query, body(json or form-data).
body syntax:
{
"errors": [
"error_text1",
"error_text2",
...
]
}
error text syntax:
missing [type] [item]
wrong [type] [item]
type
could be param
, body
, query
.
Currently, there are no validation messages. This may(will) be added later.
Mainly, deep-system issues (permission, hardware...) are the cause.
Like these:
- /disk/list/?path=/root/ will cause an error