Errores de API

Cuando una API de Vonage devuelve un error, por ejemplo, si tu Account no tiene crédito, la API devolverá un error en formato RFC 7807.

Esto proporciona una explicación básica de cuál es el problema, por qué se produjo y los pasos para resolverlo. Echa un vistazo al ejemplo para ver cómo se formatea un fuera de crédito.

En esta página encontrará una lista de todos los posibles errores que pueden producirse, junto con una explicación más detallada de cómo solucionarlos.

HTTP/1.1 403 Forbidden
Content-Type: application/problem+json
Content-Language: en
{
  "type": "https://example.com/Error#out-of-credit",
  "title": "You do not have enough credit",
  "detail": "Your current balance is 30, but that costs 50.",
  "instance": "<trace_id>"
}

10 DLC API

CódigoInformación
brand-conflict

Descripción

A conflict when a brand is being created or edited and there is an issue with a 3rd party vendor.

Resolución

Ensure all required fields have values and there are no errors in those values. If the error persists, contact support.

brand-parameters

Descripción

There are errors in the brand data submitted.

Resolución

Ensure all required fields have values included and correct any errors to values in the specified fields.

invalid-usecase-data

Descripción

There are errors in the data submitted for use case qualification.

Resolución

Ensure all required fields have values included and correct any errors to values in the specified fields.

use-case-denied

Descripción

The use case requested has been denied for this brand.

Resolución

Ensure your use case does not require additional brand vetting or pre/post Mobile Network Operator approval.

vetting-conflict

Descripción

A conflict during the brand vetting request has occurred.

Resolución

If the error persists, contact support.

invalid-vetting-data

Descripción

There are errors in the vetting request data submitted.

Resolución

Ensure all required fields have values and correct any errors to values in the specified fields.

invalid-json

Descripción

Your request cannot be parsed.

Resolución

Ensure there are no invalid characters or values in your request.

brand-not-qualified

Descripción

A conflict when a campaign is being created under a brand that hasn't qualified for the specified use case.

Resolución

Verify the brand use case qualifies before submitting the campaign.

invalid-campaign-data

Descripción

There are errors in the campaign data submitted.

Resolución

Ensure all required fields have values and correct any errors to values in the specified fields.

numbers-already-linked

Descripción

The number you are attempting to link is already linked to another campaign.

Resolución

You must link a unique number to a campaign. Link a different number to this campaign.

invalid-number-data

Descripción

There are errors in the number data submitted.

Resolución

Ensure all required fields have values and correct any errors to values in the specified fields.