Skip to main content

Response Handler Troubleshooting

Learn how to troubleshoot common response handler issues in Heyflow

If you are experiencing issues with response handlers (e.g Airtable, HubSpot, Zapier), this guide covers common errors and how to fix them.


General Recommendations

To ensure smooth response handling and successful data submission, follow these best practices:

  • Required Fields: Make sure all required fields contain data before submission.
    ​

  • Conditional Logic: If you're using conditional flows, required fields must be present in every conditional path that leads to submission.
    ​

  • Multiple Submission Buttons: Ensure that required fields are placed before the first submission button, regardless of the path taken.
    ​

  • Data Type Matching: The data type in Heyflow must match the expected format in your integration. Common issues include:

    • The integration expects a number, but a text input is provided.

    • A field uses an incompatible number format (e.g. comma vs. dot).

    • The integration expects a specific value, but receives something else.

    • A value selected from a list doesn't match the expected list of values in the integration.
      ​

  • Validation Settings: Use validation options like "Auto-remove spaces" to clean up user input before sending it.
    ​

  • Authentication: Re-authenticate integrations regularly to prevent issues caused by expired tokens.
    ​

⚡ When are response handlers triggered?

All response handlers of your flow run every time a visitor clicks a submit button. They run for every submission and cannot be limited to certain answers, screens or A/B variants. If your flow has more than one submit button (for example with partial submits), your response handlers run once per submit. To prevent this for a specific button, enable "Skip integrations" on it.

✉️ No response handler fires at all?

Response handlers only run if the email address of the flow owner is verified. If you see a warning about an unverified email in the builder, open the verification email we sent you (check your spam folder) and confirm your address. New responses will then be sent again.

❗ Each integration can be connected once per flow. You can connect several accounts of the same tool to your Heyflow account and use a different one in each flow.

📧 Integration Failed emails

If a response was saved in Heyflow but could not be sent to one of your response handlers, all owners of your organization receive an email with the subject "[Action Required] Integration Failed – {Flow Name}". It contains the name of the integration, the flow ID, the response ID and the error message returned by the connected tool. Search this article for the error message to find the fix. The response itself is not lost: you can find it in the Responses tab of your flow.

❓ Can I turn off the error emails?

No. Error emails are always sent so that no lead gets lost unnoticed. Fix the cause of the error instead. If a path of your flow should not trigger any response handler at all (for example a variant without an email field), enable "Skip integrations" on the submit button of that path. The submission is still recorded in your analytics, but no response handler runs for it.


Cannot find access token for user

Description: This is an authentication issue with the integration. It typically occurs when the OAuth token required to connect Heyflow to a service (e.g., HubSpot or Airtable) is missing or expired.

Solutions:

  • Reconnect the integration from the Integrations panel.

  • Ensure that the user who originally authorized the integration still has valid access.

How to Reauthorize a Third-Party Integration

If you encounter an error like “Cannot find access token for user”, it typically means that the authentication token has expired or is no longer valid.

To reauthorize access and restore the integration, follow these steps:

  1. Go to the Integrations tab in your Heyflow account.

  2. Select your integration and click on ‘Manage accounts’.

  3. A pop-up will open where you can then click on ‘Reconnect’.

  4. Now you are ready to receive new responses correctly.

This process will refresh the token and re-establish the connection with the third-party service.


VALIDATION_ERROR: Property values were not valid

Description: The value submitted by Heyflow does not match the format or expected value of the mapped property in the target platform (e.g., HubSpot). There are some common scenarios you'd want to check:

Options mismatch

For dropdown or multiple choice fields, ensure the label in Heyflow exactly matches the internal value in the target system — including upper/lower case.

Text vs. numbers

Ensure numeric fields contain only numbers. In Heyflow, you can do this by selecting a “Number” input field instead of a regular “Text” field. To do this:

  1. Select the input field in your flow.

  2. In the right sidebar under Settings, scroll down to the Advanced section.

  3. Locate the option Native input type.

  4. From the dropdown, select number.

    This ensures that only numeric values are submitted, preventing format errors in the target platform.

Email format errors

When integrating with HubSpot, INVALID_EMAIL validation errors are common when email addresses contain whitespace, lack domains, or do not fully meet proper syntax requirements. Make sure the email input is correctly formatted.

In Heyflow, you can enforce this by enabling the “Enforce email pattern” option in the input field settings. This prevents users from submitting invalid email formats. Additionally, enable the "Auto-remove spaces" option to prevent errors arising from accidental whitespace in email entries. You can further validate your setup by testing with intentionally invalid emails in preview mode.

To enable this:

  1. Select the input field where users will enter their email address.

  2. In the right sidebar under Settings, scroll down to the Validation section.

  3. Check the box labeled “Enforce email pattern”.

Example:

VALIDATION_ERROR: Property values were not valid:[{"isValid":false,"message":"Email address [email protected]  is invalid","error":"INVALID_EMAIL","name":"email"}]

Solution:

  • Match input values to expected values exactly.

  • For emails, enable “Auto-remove spaces” under the "Decorators" settings.

  • Re-test the flow after your changes. Changes to input fields and validation settings must be published. Changes in a response handler (mapping, account, settings) take effect as soon as you click "Save changes", no new publish is needed.


Other Error Messages

Some integrations work a bit differently from the ones covered above (like HubSpot or Airtable). If you're using a different integration and encountering a specific error message, check out the following articles for more tailored help:

🔁 Resend failed responses

After you fixed the cause of the error, you can send a failed response again: open the Responses tab of your flow, select the response (use the response ID from the error email) and click "Retrigger". All active response handlers of the flow run again for this response, so CRMs that create new records may create a duplicate.

Did this answer your question?