When your e-commerce integration stops syncing, your marketing automation suffers. New customers don't get welcomed, abandoned carts aren't recovered, and orders don't trigger post-purchase flows. Let's fix that.
Identifying Sync Problems
How to know if sync is broken:
- New orders not appearing in Kling
- Customers missing or outdated
- Flows not triggering on e-commerce events
- "Last synced" date is stale
Check Sync Status First
Go to Settings > Integrations > [Platform] and check the sync status dashboard. It shows last successful sync and any errors.
Common Sync Issues
1. Webhook Connection Lost
Webhooks notify Kling of real-time changes. When they break, sync stops.
Symptoms:
- Initial import worked, but updates don't appear
- "Last webhook" timestamp is old
Diagnosis:
- Check Settings > Integrations > [Platform] > Webhooks
- Verify all webhooks show "Active" status
- Look for failed delivery attempts
Fix:
- Click Re-register Webhooks
- If that fails, disconnect and reconnect the integration
- Check your firewall isn't blocking webhook IPs
2. API Credentials Expired
API keys can expire or be revoked.
Symptoms:
- Sync errors mentioning "unauthorized" or "forbidden"
- Integration shows "Disconnected" status
Fix:
- Generate new API credentials in your e-commerce platform
- Update credentials in Kling at Settings > Integrations
- Trigger a manual sync to verify
3. Permission Changes
Your API scope might have changed.
Symptoms:
- Some data syncs but not all
- Errors mentioning "scope" or "permission"
Fix: Check your integration app has these permissions:
Shopify:
- read_customers
- read_orders
- read_products
- read_checkouts
WooCommerce:
- Read/Write access
- All resource types enabled
4. Platform Maintenance
Sometimes it's not you—it's them.
Check:
- Shopify Status
- WooCommerce Status
- Your hosting provider's status page
During platform outages, sync will automatically resume once they're back online. No action needed.
Manual Sync Options
When automatic sync fails, you can manually trigger updates.
Full Resync
Re-imports all data from your platform:
- Go to Settings > Integrations > [Platform]
- Click Full Resync
- Wait for completion (can take 10-30 minutes)
Resource Intensive
Full resyncs are intensive. Avoid running multiple simultaneously. Data isn't duplicated, but existing records are updated.
Incremental Sync
Syncs only changes since last successful sync:
- Click Sync Now
- Faster than full resync
- Good for catching up after brief outages
Platform-Specific Issues
Shopify
Rate Limiting Shopify limits API calls. If you hit limits:
- Sync slows down automatically
- Wait for quota to reset
- Consider spreading large operations
Webhook Delays Shopify webhooks can delay up to 10 minutes during high traffic. This is normal.
Missing Orders Check if orders are:
- Draft orders (not synced by default)
- Imported via third-party app
- Created before integration was connected
WooCommerce
REST API Disabled Ensure REST API is enabled in WordPress:
- Go to Settings > Permalinks
- Select any option except "Plain"
- Save changes
Firewall Blocking Security plugins may block API calls:
- Whitelist Kling IPs in your firewall
- Check ModSecurity or similar isn't blocking
SSL Certificate Issues
- Kling requires HTTPS
- Ensure certificate is valid and not expired
- Check intermediate certificates are installed
BigCommerce
Channel Permissions Ensure your API account has:
- Access to all sales channels
- Not limited to specific storefronts
Debugging Sync
Check the Logs
Detailed sync logs are at Settings > Logs > Sync:
| Column | Meaning | | ------- | ----------------------------- | | Time | When sync attempted | | Type | Full, incremental, or webhook | | Status | Success, partial, or failed | | Details | Specific error messages |
Test with Single Record
- Create a test customer in your platform
- Wait 5 minutes
- Check if they appear in Kling
- If not, check webhook delivery in platform
API Request Test
For developers, test the connection directly:
curl -X GET "https://yourstore.myshopify.com/admin/api/2024-01/customers.json" \
-H "X-Shopify-Access-Token: your_token"
If this fails, the issue is with credentials, not Kling.
Preventing Future Issues
Monitor Sync Health
- Check sync status weekly
- Set up alerts for sync failures (coming soon)
- Review error logs periodically
Maintain Credentials
- Don't revoke API keys Kling is using
- Update Kling if you regenerate credentials
- Document which keys are used where
Keep Platforms Updated
- Update WooCommerce and plugins regularly
- Keep hosting PHP version current
- Apply security patches promptly
When to Contact Support
Reach out if:
- Resync and webhook re-registration don't help
- Errors aren't clear or actionable
- Sync worked before a platform update
- You see data loss or corruption
Include in your request:
- Platform and version
- Sync log screenshots
- Recent platform changes
Next Steps
- Reconnect Shopify with fresh credentials
- Reconnect WooCommerce if needed
- Troubleshoot emails not sending if flows aren't working
Reliable sync is the foundation of great automation. Keep those connections healthy!