Form works, but how to handle error messages?

BradM377
Participant

Form works, but how to handle error messages?

Hi. The form works great using Wordpress. I am able to redirect to another page on failure, but I would like to be able to access the failure error message so that I can display it on that page. Can you help?

1 REPLY 1
Shannon_W
Employee

Hi Brad,

 

To do this, you must have some coding ability, which I'm hoping you do since you're on the developer forums. Are you using the signup form post URL described here? If so, we send you an HTTP response from our server with the error code, (400 or 429 in the case of a failure), and an error message body. That error message body is what you're looking to display to your end user who has input their email address. Your code must capture our HTTP error response body, and display it to the user on your failure page.

 

If you're using a plugin, you can contant the plugin developer, who should be listed wherever you downloaded the plugin to request this feature.

 

Best Regards,

Shannon Wallace

Partner API Support Engineer

Developer Portal

View API documentation, code samples, get your API key.

Visit Page