View Categories

21. External Integrations: Troubleshooting

Errors, Messages, and Common Fixes #

HTTP status / errorCodeWhy It HappensHow to Fix
401 (no errorCode)Token missing, wrong, inactive or expiredCheck the token in Settings; send Authorization: Bearer {token}
401 signature_requiredNo X-ArtinCRM-Signature headerSign every request
401 signature_invalidHMAC verification failedSign {timestamp}\n{nonce}\n{raw_body} with the raw token as key; do not change the body after signing
403 (no errorCode)Token lacks the scope, API access is not in your plan, or the subscription is not activeGive the token the Integrations: Events Write scope, or check your plan and subscription
400 timestamp_required / timestamp_invalidTimestamp header missing or not Unix seconds / ISO-8601Send a valid UTC timestamp
400 timestamp_out_of_windowTimestamp more than 5 minutes from Application’s clockSync your server clock; sign immediately before sending
400 nonce_requiredNo X-ArtinCRM-Nonce headerSend a unique nonce (a UUID works)
409 replay_detectedThe nonce was already used in the last 10 minutesUse a new nonce for every request, including retries
400 connection_requiredconnection.externalInstanceId missingAdd the connection object
400 provider_requiredNo provider in the body or the URLAdd provider
400 event_type_requiredeventType missingAdd eventType
400 event_id_requiredexternalEventId missingAdd a unique externalEventId
400 "Invalid JSON payload."The body is not valid JSONFix the body
429 Too Many RequestsRate limit hitSlow down the event stream; implement backoff
workflowDispatchStatus: feature_disabledAutomation not in planUpgrade to Enterprise plan
workflowDispatchStatus: no_matching_workflowsNo active workflows matchCreate and activate a matching workflow
workflowDispatchStatus: rate_limitedAutomation rate limitWait for the rate limit window to reset

Diagnosis Flow: Event sent but nothing happened #

  1. Confirm the external system received a successful response.
  2. If the response says duplicate, send a genuinely new event.
  3. If the response says no_matching_workflows, activate or create a matching workflow.
  4. If the response says triggered, check workflow execution history for step-level failures.
  5. If WordPress is the source, verify Peikly -> Request Tracking before changing Application configuration.

Diagnosis Flow: WordPress request failed #

  1. Open Peikly -> Request Tracking.
  2. Read the HTTP code on the failed row.
  3. Match it to the next action:
    • 401 -> replace the token.
    • 403 -> confirm token scope/feature access and reconnect.
    • 401 signature_invalid -> fix the plugin configuration or reconnect using a fresh token.
    • 429 -> reduce event volume and retry later.
    • 5xx or network failure -> the plugin retries on its own; if it keeps failing, check that the WordPress server can reach Application.
  4. Retry one event only after the underlying cause is fixed.

Best Practices #

  • Use a UUID v4 as the externalEventId — this guarantees uniqueness and deduplication.
  • Sign requests immediately before sending to avoid timestamp expiry.
  • Implement exponential backoff for 429 responses.
  • On specific store-event triggers (for example Cart Abandoned), put Add/Upsert Contact before any step that references contact data. Each event also fires External Integration Event Received, so avoid running both kinds of workflow for the same event (11.8).
  • Monitor the webhook monitoring widget on your Home Dashboard for event delivery stats.
Scroll to Top