Error Handling at Leyr

Get an overview of the most common error types at Leyr and find how to work around them.

Error Types

BAD_REQUEST

Bad request. Check documentation if you send all the fields in a proper format.

NOT_FOUND

Not found. You're requesting an endpoint that doesn't exist.

METHOD_NOT_ALLOWED

Method not allowed. You're using a method that is not allowed for this endpoint.

EMR_ERROR

Internal error at EMR vendor side. Please contact us to help investigate further.

UNKNOWN_ERROR

This one is special. Please contact us and we will analyze the issue together with you.

INTERNAL_SERVER_ERROR

Internal server error. Try once again, but most likely you will have to contact us and we will analyze the issue together with you.

NOT_IMPLEMENTED

Not implemented. You're requesting an endpoint that is not implemented yet.

SERVICE_UNAVAILABLE

Service unavailable. Most likely connection error. Try again or contact us if the issue persists.