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

Redact API

CodeInformationenAktionen
invalid-product

Beschreibung

The provided product is invalid

Auflösung

Modify your request to provide a valid product

premature-redaction

Beschreibung

There is a 1 hour time period before data can be redacted to allow for all data to propagate through the Vonage system

Auflösung

Wait until the data becomes valid for redaction

rate-limit

Beschreibung

The request was rate limited

Auflösung

The Redact API supports 170 requests per second. Slow down your request rate