You are viewing the documentation for Blueriq 14. Documentation for other versions is available in our documentation directory.
When a server side exception occurs the REST API returns an HTTP error status code and returns an object containing the following data:
{ type: string, // The type of error occured. title: string, // Title for the error message. message: string, // The message describing the error. stacktrace: string, // The stacktrace of the exception. }
The following table shows all possible values for the error properties:
Type | Title | HTTP status code | Description |
---|---|---|---|
FLOW_ENDED | Flow has ended | 500 | The application flow has ended. |
UNKNOWN_SESSION | Unknown session | 500 | The requested session is not found or expired. |
NOT_FOUND | Not found | 404 | The request can't be handled because the target is not found. |
EXCEPTION | Exception | 500 | An unexpected exception occured. |
The message property is variable depending on the type of error. Stacktraces are only shown when the application runs in development mode.
Overview
Content Tools