Error: The Sync ID Field Is Required
Issue
While creating a webhook in Postman by providing a URL and event types, the following error appears:
The sync id field is required.
Environment
- Fivetran REST API
- Webhooks
Resolution
To resolve this, ensure your endpoint can accept payloads without a sync_id field, then create the webhook again.
Cause
When you create a webhook, we ensure the URL you provide is accessible and can receive data by sending a test payload in the following format:
{ "event": "test_event", "created": "timestamp", "connector_type": "_connector_type", "connector_id": "_connector_1", "group_id": "_destination_1" }
However, the payload we send doesn't include a sync_id field. This issue occurs when your endpoint doesn't accept payloads without a sync_id field.