Parameters
Custom Error Responses have the following parameters:
-
contentString Required- The response body to return. It can include error tokens that will be replaced with real values before sending the error response to the visitor.
- The maximum content size is 10 KB.
-
content_typeString Required-
The content type of the returned response. Must be one of the following:
text/htmltext/plainapplication/jsontext/xml
-
-
status_codeInteger Optional- The HTTP status code of the response. If provided, this value will override the current response status code.
- The status code must be between
400and999.