/
REST service response error codes

REST service response error codes

Error CodeExceptionDescription
400Client Error/Bad Request (JAXBException)

The server cannot or will not process the request due to a client error.

This usually occurs when the input xml is incorrect.

401

Unauthorized Access

Authentication is required to access a resource but has failed.
403

Forbidden (QuadrigaAccessException)

The user is trying to access a resource (project, workspace, etc) that they do not have permission for.
404

ResourceNotFoundException

The requested resource could not be found.

Example - If a given project id, workspace id or a network id does not exist in the database.

500Internal Server Error (ParseErrorException, MethodInvocationException, QuadrigaStorageException, JSONException, Exception)

An error has occurred in the server while processing the request.

ParseErrorException and MethodInvocationException occur if there is an error creating an xml string from the velocity templates.

QuadrigaStorageException occurs when there is an issue accessing the Quadriga database.

JSONException occurs while creating a JSON Object that is sent as part of the response.

Related content

Retrieve a type by its ID or URI
Retrieve a type by its ID or URI
More like this
Retrieve Concept by ID
Retrieve Concept by ID
More like this
How to create a Project and Workspace
How to create a Project and Workspace
More like this
How to upload a network to Quadriga with Project and Workspace Info
How to upload a network to Quadriga with Project and Workspace Info
More like this
REST Interface Description
REST Interface Description
More like this
How to upload text to Quadriga through rest interface
How to upload text to Quadriga through rest interface
More like this