You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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:

TypeTitleHTTP status codeDescription
FLOW_ENDEDFlow has ended500The application flow has ended.
UNKNOWN_SESSIONUnknown session500The requested session is not found or expired.
NOT_FOUNDNot found404The request can't be handled because the target is not found.
EXCEPTIONException500An 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.

 

  • No labels