API-Fehler

Wenn eine Vonage-API einen Fehler zurückgibt, z. B. wenn Ihr Account kein Guthaben hat, gibt die API einen Fehler im Format RFC 7807 zurück.

Hier finden Sie eine grundlegende Erklärung, was das Problem ist, warum es auftrat und wie es zu beheben ist. Anhand des Beispiels können Sie sehen, wie ein out-of-credit formatiert ist.

Auf dieser Seite finden Sie eine Liste mit allen möglichen Fehlern, die auftreten können, und eine genauere Erklärung, wie sie behoben werden können.

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

Subaccount API

CodeInformationenAktionen
validation

Beschreibung

The request failed due to validation errors

Auflösung

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

invalid-transfers

Beschreibung

Invalid transfer

Auflösung

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

provisioning

Beschreibung

Maximum number of sub-accounts reached

Auflösung

If you need more subaccounts, contact Vonage Support.

internal-error

Beschreibung

An error has occurred in the platform while processing this request

Auflösung

If the error persists, contact Vonage Support.

invalid-number-transfer

Beschreibung

Failed to perform transfer number from source account to destination account

Auflösung

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

missing-number-transfer

Beschreibung

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

Auflösung

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

transfer-conflict

Beschreibung

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

Auflösung

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