Webhooks & API
Errors can occasionally occur when you are using the Axiom.ai API or webhooks to trigger your automations. Read about some common errors and solutions. For common errors related to the API, see Common Errors | API
# Text must be valid JSON
Error: Text must be a valid JSON string.
Alternative(s): "(Something) is not valid JSON"
Problem: The text input into the trigger webhook step must be valid JSON (opens new window).
Fix: Ensure that the text you are using is valid JSON, you can use an online validator to confirm.
# Webhook returned an error
Error: Webhook server returned an error. Please check your JSON for errors.
Problem: The webhook that you are attempting to call from the trigger webhook step has returned an error.
Fix: Check the JSON that you are sending to the webhook for any errors or formatting issues.
# No data received from webhook
Error: No data has been received from an external service and no test data entered for this step.
Problem: A [receive data from a webhook] step within your automation has not received any data from the webhook that you used to trigger your automation and there was no test data inserted into the step.
Fix: Check your trigger to ensure that you are sending data to the automation, or insert data by toggling test data on.