Troubleshooting Customer Insights - Journeys forms

This article explains how to troubleshoot forms in Customer Insights - Journeys.

My embedded form isn't visible on my page

Make sure that your domain is allowed for external form hosting. You don't need to finish the domain authentication process to enable external form hosting for your domain. Learn more about domain authentication.

Publishing a form as a standalone page fails

This feature uploads a page with form on CDN. If the operation fails, try to run it again after a few minutes.

Form editor removed my custom JavaScript or other custom code from the HTML body

With Customer Insights - Journeys version 1.1.38813.80 or newer, you can add JavaScript code into the <body> section of the HTML. If you add JavaScript into the <head> section, it's automatically moved to the top of the <body> section.

With Customer Insights - Journeys version older than 1.1.38813.80, you can add custom JavaScript code only to the <head> section of the HTML source code using the HTML editor. If the code JavaScript code is placed inside the <body> section, the form editor automatically removes the code without warning.

To follow security best practices, the form editor can remove unknown code from the body. Learn more about how to customize your form using JavaScript.

My form submission failed. How do I resubmit the submission?

The form submission may fail because of issues with custom plugins or due to invalid values in the submission.

  • If the form submission failed because of the plugin issue, you can resubmit the submission from the list of submissions.
  • If the form submission failed because of an invalid value, you can edit the values of submissions from the list of submissions. Select the form submission to see the submitted values. Select the value you need to change and edit the value.

Important

You can only re-submit failed submissions. Be aware that, by re-submitting, you may create a duplicate contact, such as when the submission fails because of a contact point consent creation error. The replay runs the entire submission process again. To avoid duplicate records, you can change the matching strategy before running the replay feature.

Investigating failed form submissions

Failed form submissions typically manifest as "Failed to create target entity" or "Failed to update target entity" in the logs and are often related to a customization that creates or updates a contact or lead entity.

Chart comparing a successful submission pipeline versus an unsuccessful submission pipeline.

Here's how to troubleshoot a failed form submission issue:

  • Temporarily enable plugin trace logs Enabling plugin trace logs can impact performance negatively, so make sure to disable them once you're done.
  • Resubmit the form.
  • Check the logs. If there's a plugin-related error, there should be a plugin name and a reason why the plugin crashed. Follow up with the plugin provider or disable the plugin. Don't disable Microsoft plugins (any plugin name that starts with "Microsoft.Dynamics.Cxp.Forms.")
  • Check the processes connected to the contact, lead, or other entity you're trying to create through the form submission. Try disabling the process that's interfering with the contact creation.

Screenshot of processes list.