Validation Error

Type URI
https://api.marketingpod.dev/problems/validation-error
Status Code
400 Bad Request
Description
The request body contains one or more validation errors.

Example Response

{
  "type": "https://api.marketingpod.dev/problems/validation-error",
  "title": "Validation Error",
  "status": 400,
  "detail": "The request body contains one or more validation errors.",
  "instance": "/api/v1/integration/req_1704123456789_abc",
  "requestId": "req_1704123456789_abc",
  "timestamp": "2024-10-07T12:34:56.789Z",
  "errors": [
    "eventType: Invalid enum value. Expected 'CustomerUpdate' | 'CustomerCreation' | ..."
  ],
  "allowedEventTypes": ["CustomerUpdate", "CustomerCreation", ...]
}

Common Causes

How to Fix

  1. Check the errors array in the response for specific validation failures
  2. Validate eventType against the allowedEventTypes list provided in the response
  3. Ensure createdDttmInUtc follows ISO 8601 format: 2024-01-01T12:00:00.000Z
  4. Verify all required fields are present and not empty

Related Errors


Need help? Contact developers@marketingpod.com and include the requestId from your error response.