Errors

On this page, you will find everything you need to know about errors within Yousign API

Error types

HTTP Status CodeCode
400 Bad RequestInvalid request.
401 UnauthorizedInvalid authentication, check that your are using the correct API Key on the right environment (Sandbox / Production).
403 ForbiddenAccess to this resource is forbidden in this context.
404 Not FoundThe requested resource was not found.
405 Method Not AllowedThe request cannot be executed with the given HTTP verb.
429 Too Many RequestsToo many requests sent in a given amount of time. Please reduce the number of calls or rely on webhooks instead of polling. Learn more about rate-limiting.
500 Internal Server ErrorServers are not working as expected. The request is probably valid but needs to be requested again later.
503 Service UnavailableWe are currently under maintenance.

Understanding 4XX Errors

To help you troubleshoot your issues, all the 4XX errors contain additionnal information in the JSON response.

AttributeDescription
type
required
Key that identify the error type
detail
required
Human readable message explaining the error
invalid_paramsOnly present for errors of type validation.error or parameters_not_valid.

Array of objects with attributes:

- name identifying the concerned field and

- reason describing the validation issue
{
    "type": "validation.error",
    "detail": "You have some invalid params in your payload.",
    "invalid_params": [
        {
            "name": "delivery_mode",
            "reason": "Value must be in [\"none\", \"email\"]."
        }
    ]
}
{
    "type": "document.unable_to_download_signature_request_not_in_done",
    "detail": "The signature request \"80c30a0e-84cd-4574-8161-8669f6603189\" is still ongoing, the completed documents are not available yet"
}

Errors List

On the next page you will find the list of all errors and their description Yousign API can send back on client error (4XX HTTP requests).