REST API Common Errors

The following table lists the common request errors:

Category

HTTP Status

Error Code

Error Description

Error Data

Error Detail

Authentication

401

authorization.unathorized

Unauthorized request

NA

NA

Authentication

401

authentication.notAuthorized

User is not authorized to access the requested resource

NA

NA

Authentication

401

authentication.noAccess

User is not allowed to access the resource. Check the user roles

NA

NA

Input Output Formatting

400

processing.jsonSyntaxError

JSON syntax error while processing the request attachment

NA

NA

Input Output Formatting

400

processing.xmlSyntaxError

XML Syntax error while processing the request attachment

NA

NA

Generic

406

invalid.acceptHeader

Invalid accept header, it should contain either xml or json

NA

NA

The following table lists the generic processing errors :

Category

HTTP Status

Error Code

Error Description

Error Data

Error Detail

Generic

400

invalid.header

Missing accept header

NA

NA

Generic

404

Not found

Requested Resource Not Found

NA

NA

Generic

500

processing.failed

Internal Error

NA

NA

Generic

500

processing.databaseProcessingFailed

Database Processing failed

NA

NA

Generic

500

processing.fileProcessingFailed

File processing failed

NA

NA

Generic

500

processing.urlGenerationFailed

Failed to generate URL

NA

NA

Generic

500

processing.internal

Internal server error

NA

NA

Generic

500

internal.serverError

An internal error has occurred

NA

NA