+49 69 83008980 service@xqueue.com

Benötigen Sie Hilfe?

HTTP Status Codes

Sie sind hier:
< Alle Themen
 

The Maileon API returns an HTTP status code to each request. For most error cases, the response body is an XML errors document containing more details.

Successful 2XX

<strong>200 OK</strong> – The request has succeeded.
<strong>201 Created</strong> – The request has been fulfilled and resulted in a new resource being created.

Client Error 4XX

<strong>400 Bad Request</strong> – The request could not be understood by the server due to malformed syntax. The client should not repeat the request without modifications.
<strong>401 Unauthorized</strong> – The API Key is missing or invalid or has expired. API Keys of blocked newsletter accounts will not be authorized.
<strong>403 Forbidden</strong> – The API Key has no privileges for the requested HTTP method.
<strong>404 Not Found</strong> – The requested resource was not found.
<strong>405 Method Not Allowed</strong> – The method specified in the request line is not allowed for the resource identified by the request URI.

Server Error 5XX

    
<strong>500 Internal Server Error</strong> – The Maileon server encountered an error.

Example Error Report

Status: 400 Bad Request
Content-Type: application/vnd.maileon.api+xml

<?xml version="1.0" encoding="UTF-8"?>

<error>
<message>page_size must not exceed 1000 but was 200000</message>
</error>

 

Inhaltsverzeichnis