OData errors
OData Errors are reported according to OData standard.
If the error on the server is a standard WorkZone error (a ScanjourException type) the “code” element of an OData error response will contain a value in the following format “{ErrorCode}.{SubCode};{TermId}”. This enables WorkZone Client to identify the error.
HTTP Status codes
HTTP status code 400 (request error)
Most ScanjourExceptions will be reported with a HTTP status code of 400 (request error),
HTTP status code 403 (access denied)
If the ScanjourException is related to access denied exceptions in WorkZone, a 403 HTTP status code (access denied) will be reported.
Verbose error reporting is used with full server stack trace included unless the HTTP status code is 403.
HTTP status code 500 (internal server error)
Severe (Fatal) errors (like for example Oracle errors) will be reported with a HTTP status code of 500 (internal server error).
Errors with a HTTP status code of 500 will also be reported to the Windows application eventlog on the web server.