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

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.

Auflösung

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.

Auflösung

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.

Auflösung

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.

Auflösung

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.

Auflösung

If the error persists, contact support.

invalid-vetting-data

Beschreibung

There are errors in the vetting request data submitted.

Auflösung

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

invalid-json

Beschreibung

Your request cannot be parsed.

Auflösung

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.

Auflösung

Verify the brand use case qualifies before submitting the campaign.

invalid-campaign-data

Beschreibung

There are errors in the campaign data submitted.

Auflösung

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.

Auflösung

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.

Auflösung

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