Search.../

Errors

Each SPI call returns a response including an HTTP status code. If an error response is required, the response must include an error status code and a message that describes the type of error that occurred.

The error message should be in the following format:

{
"message": "..."
}
JSON | Copy Code

Use the following HTTP Status/Error codes:

HTTP Status CodeDescription
200 - OKSuccess
400 - Bad RequestOne or more request parameters is wrong or missing
401 - UnauthorizedThe system was not able to authenticate the request
404 - Not FoundResource not found / does not exist
409 - ConflictThe resource you are attempting to create already exists

Note

4XX statuses will appear in the error produced by the Wix Data function call.

Was this helpful?