API-Fehler

Wenn eine Vonage-API einen Fehler zurückgibt – beispielsweise, wenn Ihr Konto kein Guthaben mehr aufweist –, gibt die API einen Fehler im Format „ RFC 7807 “ zurück.

Hier finden Sie eine grundlegende Erläuterung des Problems, der Ursachen und der Schritte zu dessen Behebung. Sehen Sie sich das Beispiel an, um zu erfahren, wie ein „ out-of-credit “ aufgebaut ist.

Sie sollten sich wahrscheinlich schon im Vorfeld überlegen, welche Fehler Ihre Anwendung behandeln muss. Auf dieser Seite finden Sie eine Liste aller möglichen Fehler, die auftreten können, sowie eine detaillierte Erläuterung, wie diese 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>"
}

10 DLC-API

CodeInformationen
brand-conflict

Beschreibung

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

Beschluss

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

brand-parameters

Beschreibung

There are errors in the brand data submitted.

Beschluss

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

invalid-usecase-data

Beschreibung

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

Beschluss

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

use-case-denied

Beschreibung

The use case requested has been denied for this brand.

Beschluss

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

vetting-conflict

Beschreibung

A conflict during the brand vetting request has occurred.

Beschluss

If the error persists, contact support.

invalid-vetting-data

Beschreibung

There are errors in the vetting request data submitted.

Beschluss

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

invalid-json

Beschreibung

Your request cannot be parsed.

Beschluss

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

brand-not-qualified

Beschreibung

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

Beschluss

Verify the brand use case qualifies before submitting the campaign.

invalid-campaign-data

Beschreibung

There are errors in the campaign data submitted.

Beschluss

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

numbers-already-linked

Beschreibung

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

Beschluss

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

invalid-number-data

Beschreibung

There are errors in the number data submitted.

Beschluss

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