Error API + Ninja PopUp using Wordpress

Hi,

I just installed hubspot in my Wordpress site and the pop-ups built with Ninja Popup that were working before now are getting the following error:

{“api_error_msg”:“Some fields are missing.”,“Ok”:true}

The problem is that I get a pop-up with the error.

I spent hours looking for the problem and I found out that the issue is that the form doesn’t have an email field, if I add an email field it works. The problem is that I just want the person’s phone to reach out, how can I prevent the javascript alert that pop-ups with the error?

Hi @GonzaloP,

Can you please share a link to the page you’re working on so we can take a look?

Thanks,
Jenny

It happened that ninja popup just updated their version when I installed hubspot. The problem was related to ninja popup.

thanks