Troubleshoot Salesforce Spiff Webhook API Requests

Troubleshoot common Salesforce Spiff Webhook API errors, including invalid connector IDs, mapping IDs, and empty records after a 200 response.

For setup steps, see Get Started with Salesforce Spiff Webhook API.

Valid Endpoint URLs 

These URL formats are valid.

  • Test the webhook: https://SUBDOMAIN.spiff.com/_webhook/connector/CONNECTOR_ID/test
  • Upsert or delete one record: https://SUBDOMAIN.spiff.com/_webhook/mapping/MAPPING_ID
  • Upsert or delete multiple records: https://SUBDOMAIN.spiff.com/_webhook/mapping/MAPPING_ID/bulk

Before you send a test request, complete the webhook and mapping setup in Set Up a Third-Party Connector in Salesforce Spiff. The test endpoint returns an error if the webhook has no mappings.

Common Error Responses 

HTTP statusMessageCause
404No such connectorThe connector ID in the URL doesn’t match a webhook connector in Spiff.
400Invalid mapping idThe mapping ID in the URL doesn’t match a webhook mapping in Spiff.
404Page not foundThe endpoint path is incorrect.
401Could not validate HMAC SignatureThe HMAC-SHA256 signature is invalid.

Troubleshoot Empty Records After a 200 Response 

A 200 response confirms that Spiff received the request. It doesn’t confirm that records were created or updated.

If records are missing or fields are empty after a 200 response:

  1. Confirm that each record in the request body includes external_id. external_id is the record’s primary key. Don’t use a different key name, such as KEY.
  2. Confirm that every field name in the payload matches a connector field that you configured in Spiff.

See Also