Troubleshooting

Integration Sync Issues

Fix customer and order sync problems between your e-commerce platform and Kling. Troubleshoot Shopify, WooCommerce, and more.

Kling TeamDecember 18, 20245 min read
Integration Sync Issues
Keep your data flowing smoothly between systems

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:

  1. Check Settings > Integrations > [Platform] > Webhooks
  2. Verify all webhooks show "Active" status
  3. Look for failed delivery attempts
Webhook status dashboard
Healthy webhooks show active status with recent deliveries

Fix:

  1. Click Re-register Webhooks
  2. If that fails, disconnect and reconnect the integration
  3. 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:

  1. Generate new API credentials in your e-commerce platform
  2. Update credentials in Kling at Settings > Integrations
  3. 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:

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:

  1. Go to Settings > Integrations > [Platform]
  2. Click Full Resync
  3. 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:

  1. Click Sync Now
  2. Faster than full resync
  3. Good for catching up after brief outages
Sync progress indicator
Monitor sync progress in real-time

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

  1. Create a test customer in your platform
  2. Wait 5 minutes
  3. Check if they appear in Kling
  4. 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

Reliable sync is the foundation of great automation. Keep those connections healthy!

integrationssynctroubleshooting

Related Articles

Need More Help?

Can't find what you're looking for? Our support team is here to help.