Error codes reference

Check what the client and the server error codes mean.

Code Status Meaning
400 Bad Request The request is incorrect. For example, some of the required parameters are missing or there are syntax errors.
401 Unauthorized The request requires user authentication. For example, a key is missing or the given key is invalid.
403 Forbidden The server refuses to fulfill the request. For example, when a public key is used to access a private resource.
404 Not Found The requested resource does not exist.
405 Method Not Allowed The payment method in the request is not configured at all or the payment method is not configured to use the method in the request.
406 Not Acceptable The server cannot produce a response matching the list of acceptable values defined in the request’s headers.
407 Proxy Authentication Required The client must first authenticate itself for a proxy server.
408 Request Timeout The request you sent to the server took longer than the server was prepared to wait.
409 Conflict The request could not be completed because of a conflict with the current state of the resource.
410 Gone The requested resource is no longer available on the server.
411 Length Required The server refuses to accept the request without a defined Content- Length.
412 Precondition Failed The precondition given in one or more of the request-header fields was false.
413 Request Entity Too Large The request is too large for the server to process.
414 Request-URI Too Long The Uniform Resource Identifier (URI) of the request is too long for the server to process.
415 Unsupported Media Type The request media type is not supported by the system.
416 Requested Range Not Satisfiable None of the requested ranges overlap the current extent of the selected resource. The error can also occur when the ranges are invalid or overlap.
417 Expectation Failed The expectation in the request could not be met by the server.
500 Internal Server Error The server encountered an unexpected error and cannot fulfill the request because of that.
501 Not Implemented The server does not support the functionality required to fulfill the request.
502 Bad Gateway The server received an invalid response from the upstream server it accessed to fulfill the request.
503 Service Unavailable The server cannot handle the request because of a temporary overloading or maintenance of the server.
504 Gateway Timeout The server did not receive a fast enough response from another server upstream when it attempted to load one of the web pages.
505 HTTP Version Not Supported The server does not support the HTTP protocol version that was used in the request.

For details on how to handle errors in the Unzer API, go to Error handling.