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>"
}

API de subcuentas

CódigoInformaciónAcciones
validation

Descripción

The request failed due to validation errors

Resolución

See the detail (and, if present, the invalid_parameters) fields for the exact reason this request was rejected and review the documentation.

invalid-transfers

Descripción

Invalid transfer

Resolución

See the detail field for the reason this transfer is invalid.

provisioning

Descripción

Maximum number of sub-accounts reached

Resolución

If you need more subaccounts, contact Vonage Support.

internal-error

Descripción

An error has occurred in the platform while processing this request

Resolución

If the error persists, contact Vonage Support.

invalid-number-transfer

Descripción

Failed to perform transfer number from source account to destination account

Resolución

See the detail field for the reason this transfer is invalid.

missing-number-transfer

Descripción

Could not transfer number from source account to destination account - ShortCode not found

Resolución

See the detail field for the reason this transfer is invalid.

transfer-conflict

Descripción

Could not transfer number from source account to destination account - ShortCode is already owned by requesting account

Resolución

See the detail field for the reason this transfer is invalid.