VignetimVignetim
Home
Contact
Log inRegister
  1. Home
  2. /
  3. Developers
  4. /
  5. API Reference
  6. /
  7. Error Handling

Getting Started

  • Introduction
  • Authentication
  • Sandbox
  • Rate Limiting
  • Error Handling

Products

  • Vignette Tickets
  • eSIM Packages
  • Insurance Products
  • Vehicle Categories

Orders

  • Create Order
  • List Orders
  • Get Order

Webhooks

  • Webhooks Overview
  • Webhook Management

MCP

  • MCP Overview
  • Vignetim Claude MCP
  • Vignetim OpenAI MCP

Error Handling

The Partner API uses standard HTTP status codes and returns consistent JSON error responses.

Error Response Format

All errors follow this structure:

{
	"statusCode": 400,
	"message": "Validation failed",
	"error": "Bad Request"
}

Status Codes

CodeErrorDescription
400Bad RequestInvalid request body, missing required fields, or validation failure
401UnauthorizedMissing, invalid, or expired authentication credentials
403ForbiddenValid credentials but insufficient permissions for this action
404Not FoundThe requested resource does not exist
409ConflictDuplicate request detected (e.g., duplicate idempotency key with different payload)
429Too Many RequestsRate limit exceeded
500Internal Server ErrorAn unexpected error occurred on the server

Validation Errors

For 400 errors caused by request validation, the message field may contain details about which fields failed validation:

{
	"statusCode": 400,
	"message": [
		"products.0.productId must be a UUID",
		"products.0.startAt must be a valid ISO 8601 date",
		"payment.type must be one of: CARD, GOOGLE_PAY, APPLE_PAY, IDEAL, REVOLUT, BANCONTACT"
	],
	"error": "Bad Request"
}

Best Practices

  • Always check the statusCode field to determine the error category.
  • For 401 errors, verify your API key, timestamp freshness (within 5 minutes), nonce uniqueness, and signature computation.
  • For 409 errors on order creation, the original order was already processed. Retrieve it using the idempotency key or external reference.
  • For 500 errors, retry with exponential backoff. If the error persists, contact support.
Previous← Rate LimitingNextVignette Tickets→
VignetimVignetim
Visa
Mastercard
American Express

Vignettes & Tolls

  • Bulgaria Vignette
  • Czech Republic Vignette
  • Hungary Vignette
  • Slovakia Vignette
  • Slovenia Vignette
  • Romania Vignette
  • Moldova Vignette
  • Switzerland Vignette
  • Estonia Vignette
  • Iceland Tolls
  • Netherlands Tolls
  • Ireland Tolls

Insurances

  • Travel Health Insurance
  • Green Card Insurance

Company

  • FAQs
  • About
  • Contact
  • API Reference
  • Fleet

Privacy

  • Terms and Use
  • Privacy Policy
  • Cookie Policy
  • User Data Deletion Instruction

Social

  • Instagram
  • LinkedIn
  • X (Twitter)
  • Facebook

Vignetim | E-vignette, eSIM & Insurance

Purchase and manage your European e-vignettes, eSIMs and insurance easily with Vignetim.

Available on iOS & Android.

Download on App StoreGet it on Google Play

Copyright © 2026 Vignetim | Vignette, eSIM & Insurance