Symptom
Server-side CAPI integration shows errors:
- “Connection failed” in Integrations page
- Events not reaching ad platforms
- Error messages in TrackShift
Checking CAPI Status
- Go to TrackShift → Integrations
- Look at each provider’s status:
| Status | Meaning |
| ✅ Connected | Working properly |
|---|---|
| ⚠️ Warning | Partial issues |
| ❌ Error | Not working |
| ⏳ Pending | Not yet configured |
Click on any provider to see detailed error messages.
Common CAPI Errors
Error: “Invalid Access Token”
Cause: Your access token has expired or been revoked.
Solution:
For Meta CAPI:
- Go to Meta Events Manager
- Select your Pixel
- Go to Settings
- Scroll to Conversions API
- Click “Generate new access token”
- Copy the new token
- Update in TrackShift → Integrations → Meta
For GA4:
- Go to Google Analytics
- Admin → Data Streams → Your stream
- Scroll to Measurement Protocol API secrets
- Create new secret or copy existing
- Update in TrackShift
For TikTok:
- Go to TikTok Events Manager
- Settings → Generate new access token
- Update in TrackShift
Error: “Permission Denied”
Cause: Token doesn’t have required permissions.
Solution: Regenerate token with correct permissions:
| Platform | Required Permissions |
| Meta | ads_management, business_management |
|---|---|
| TikTok | Pixel events management |
| Full access to conversions | |
| Snapchat | Marketing API access |
Error: “Invalid Pixel/Tag ID”
Cause: The Pixel ID entered is incorrect or deleted.
Solution:
- Go to your ad platform
- Navigate to your pixel/tag
- Copy the ID exactly
- Update in TrackShift
- IDs should be numbers only (no letters)
Error: “Rate Limited”
Cause: Too many requests sent to the platform API.
Solution:
- This is temporary and usually resolves itself
- TrackShift automatically retries with exponential backoff
- Events will be queued and sent later
- No action needed unless persists > 24 hours
Error: “Network Error” or “Timeout”
Cause: Temporary network issues between servers.
Solution:
- Usually resolves automatically
- Check TrackShift status page
- If persists, contact support
Error: “Duplicate Event”
Cause: Same event ID sent twice (usually not an error).
Solution:
- This is expected behavior for deduplication
- Ad platform ignores the duplicate
- No action needed
Error: “Invalid Event Data”
Cause: Event payload doesn’t match platform requirements.
Solution:
- Check your product catalog IDs match
- Verify currency codes are valid (USD, EUR, etc.)
- Ensure prices are positive numbers
- Contact support if persists
Testing CAPI Connections
Method 1: TrackShift Test Button
- Go to Integrations
- Click on the provider
- Click Test Connection
- Result shows success or specific error
Method 2: Check in Ad Platform
After sending test event:
Meta:
- Events Manager → Test Events tab
- Should show test event within seconds
GA4:
- DebugView or Realtime report
- Should show event within minutes
TikTok:
- Events Manager → Test Events
- Similar to Meta
Method 3: Check TrackShift Logs
- Go to Health Dashboard
- Look at recent events
- Failed CAPI events show error status
Retry Logic
TrackShift uses exponential backoff for failed events:
- 1st retry: After 1 minute
- 2nd retry: After 5 minutes
- 3rd retry: After 15 minutes
- 4th retry: After 1 hour
- After 4 failures: Event marked as failed
Events remain in queue for 24 hours before being discarded.
Preventing CAPI Issues
- Monitor regularly: Check Integrations page weekly
- Update tokens proactively: Regenerate before they expire
- Set up alerts: Configure Slack notifications for failures
- Test after changes: Always test after updating credentials
—