Error codes
  • 01 Mar 2024
  • 2 Minutes to read
  • Contributors
  • Dark
    Light
  • PDF

Error codes

  • Dark
    Light
  • PDF

Article summary

HTTP 400 - Bad Request

The request cannot be processed because of invalid request or malformed request syntax.

Example of response:

{

"sourceSystem": [

"Invalid pk \"1\" - object does not exist."

]

}

HTTP 401 - Unauthorized

The request is not authenticated.

These are some of the possible reasons for this error:

• The request does not have a token

• The token provided is invalid

Example of response:

{

"detail": "Invalid token."

}

HTTP 403 - Forbidden

The client does not have access rights to the requested resource.

These are some of the possible reasons for this error:

• Permissions

• Database Dependencies / Constraints

◦ Making changes to resources that has constraints

◦ Removal of a certain resource that has dependency to some resources

Example of response:

{

"detail": "Making changes to the default apartment is prohibited"

}

HTTP 404 - Not Found

The requested resource does not exists.

Example of response:

{

"detail": "Not found."

}

HTTP 405 - Method Not Allowed

The method type is not currently supported for the requested resource.

This also indicates that the requested resource was recognized by the server but the client used an unacceptable method during request.

Example of Response:

{

"detail": "Method \"PATCH\" not allowed."

}

HTTP 500 - Internal Server Error

This is a generic error message. This means that the server encountered an error that cannot be handled. These are some of the possible causes of this error:

• A database related error

• Misconfiguration

The best way to identify the real cause is to ask support for more information.

API Error Codes

Code

Detail

err0000000000

Default API code.

err0000000001

Making changes to the default apartment is prohibited

err0000000002

New address too far (approximately {} meters) away from old address.

err0000000003

Moving apartments declined without address location specified.

err0000000004

Address provided in the request and address in URI differ.

err0000000005

Address {} not found

err0000000006

Adding apartments to default address is prohibited

err0000000007

Similar apartment already exists on this address.

err0000000008

Child record(s) exist, deletion declined

err0000000009

Please provide attachedObjectType param

err0000000010

AttachedObjectType {} not found

err0000000011

Invalid input.

err0000000012

Incorrect query key found: {}

err0000000013

Search value could not be converted to search attribute type.

err0000000014

{} must be a positive integer

err0000000015

{} must be a positive integer less or equal than {}

err0000000016

Object coordinates are outside of Access area

err0000000017

Related object coordinates are outside of Access area

err0000000018

Unauthorized to change to state: %s

err0000000019

Making changes to the default address is prohibited

err0000000020

Deleting of default address is prohibited

err0000000021

Deleting of default apartment is prohibited

err0000000022

Delete value instead of setting null.

err0000000023

Can be used only to update value. Create new value for other changes

instead.

err0000000024

A server error occurred.

err0000000025

Malformed request.

err0000000026

Incorrect authentication credentials.

err0000000027

Authentication credentials were not provided.

err0000000028

You do not have permission to perform this action.

err0000000029

Not found.

err0000000030

Method {} not allowed.

err0000000031

Could not satisfy the request Accept header.

err0000000032

Unsupported media type {} in request.

err0000000033

Request was throttled.

err0000000034

Invalid token.

err0000000035

Invalid pk {} - object does not exist.

err0000000036

JSON parse error - Expecting property name enclosed in double quotes: line {} column {} (char {}

err0000000037

API error codes not found.

err0000000038

Object {} cannot be deleted because there is an object {} referring to it

err0000000039

Select a valid choice. That choice is not one of the available choices.

err0000000040

Unique constraint violation, operation declined

err0000000041

Data integrity error, operation declined

err0000000042

Range not free

err0000000043

Connector does not exist.

err0000000044

Cannot connect internal cable to itself

err0000000045

Operation cannot be performed because {}

Code

Detail

err1200000000

Circuit service default api code.

err1200000001

Request has no data.

err1200000002

Mandatory field is missing.

err1200000003

Invalid endpoint.

err1200000004

{} not found.

err1200000005

Ambiguous results found.

err1200000006

Error while processing request.

err1200000007

{} parameter invalid.

err1200000008

Failed to create {}!


Was this article helpful?