APIエラー

Vonage APIがエラーを返した場合、例えばアカウントにクレジットがない場合、APIはRFC 7807フォーマットでエラーを返します。

これは、問題が何であるか、なぜそれが発生したか、それを解決するための手順の基本的な説明を提供します。クレジット不足がどのような形式で表示されるかは、例を参照してください。

アプリケーションがどのようなエラーを処理する必要があるか、前もって考えておくといいかもしれません。このページでは、発生しうるすべてのエラーのリストと、その対処方法についてのより詳細な説明を提供しています。

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

CodeInformationActions
invalid-product

Description

The provided product is invalid

Resolution

Modify your request to provide a valid product

premature-redaction

Description

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

Resolution

Wait until the data becomes valid for redaction

rate-limit

Description

The request was rate limited

Resolution

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