Sync Failures¶
Overview¶
Integration syncs can fail due to expired credentials, API rate limits, or malformed webhooks. This page explains how to diagnose the failure, apply retries, and prevent recurrence.
Who this is for¶
- Admin
- Developer
- End User
Prerequisites¶
- Admin access to Integrations settings.
- Credentials for the external system (Salesforce, HubSpot, etc.).
- Ability to view webhook delivery logs.
Step-by-step instructions¶
1. Identify the failure mode¶
- Open Administration > Integrations.
- Select the failing connector.
- Review the Sync History table.
- Note the error category: Auth, Rate Limit, Validation, or Timeout.
2. Resolve authentication expiry¶
- Click Reconnect on the connector card.
- Complete the OAuth flow or re-enter API keys.
- Verify the Connection Test returns green.
- Trigger a manual sync to confirm.
3. Handle API rate limits¶
- Check the external platform's rate limit dashboard (e.g., Salesforce Setup > API Usage).
- In ValuePact, open the connector settings.
- Reduce the Batch Size or increase the Sync Interval.
- Enable Adaptive Backoff to let Layer 1 automatically slow requests.
4. Retry failed webhooks¶
- Navigate to Administration > Integrations > Webhooks.
- Find the webhook with a red Delivery Status.
- Click View Details and inspect the HTTP response code.
- If the payload is valid but the receiver timed out, click Retry.
- For persistent 4xx errors, update the endpoint URL or payload mapping.
5. Verify network and firewall rules¶
- Confirm the external system allows requests from ValuePact egress IPs.
- Whitelist the IPs listed in Administration > Security > Egress IPs.
- Test connectivity with
curlor the built-in Ping Endpoint button.
Permissions required¶
| Role | Permission | Scope |
|---|---|---|
| Admin | Configure integrations | Organization |
| Admin | Manage webhooks | Organization |
| Developer | View webhook logs | Own tenant |
Limits and guardrails¶
- Limit Webhook retries: 5 automatic retries with exponential backoff (2^n seconds).
- Limit Manual retry rate: max 20 per minute per webhook.
- Limit Salesforce API: 100,000 calls per 24 hours per connected app.
- Limit HubSpot API: 100 calls per 10 seconds per app.
Troubleshooting¶
Issue: Sync fails with 'Invalid Grant' or 401
Cause: OAuth refresh token expired or was revoked by the admin on the external platform. Resolution: 1. Re-authorize the connector. 2. Ensure the connected app in the external system is not in "Blocked" state. 3. Re-run the sync.
Issue: Webhook deliveries show 410 Gone
Cause: The endpoint URL no longer exists or the subscription was deleted. Resolution: 1. Verify the endpoint URL in Webhooks > Settings. 2. If the URL changed, update it and regenerate the webhook secret. 3. Re-subscribe to the desired event types.
Issue: Sync partially succeeds with validation errors
Cause: Field mapping mismatch or required fields missing in the source. Resolution: 1. Download the error report from Sync History. 2. Map missing fields or mark them as optional in the connector schema. 3. Re-run the sync.
Related pages¶
Escalation path¶
| Severity | Condition | Contact |
|---|---|---|
| P3 | Intermittent failures, single connector | #valuepact-support Slack |
| P2 | All connectors failing for one tenant | support@valuepact.ai |
| P1 | Platform-wide webhook delivery failure | On-call page with subject "P1 Sync Outage" |