# Error API + Ninja PopUp using Wordpress

**URL:** <https://community.hubspot.com/t/error-api-ninja-popup-using-wordpress/10565>\
**Category:** Marketplace Apps\
**Created:** [October 13, 2018, 11:23am UTC](https://community.hubspot.com/t/error-api-ninja-popup-using-wordpress/10565 "2018-10-13T11:23:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![GonzaloP](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gonzalop/32/48165_2.png) [@GonzaloP](https://community.hubspot.com/u/GonzaloP)\
**Post date:** [October 13, 2018, 11:23am UTC](https://community.hubspot.com/t/error-api-ninja-popup-using-wordpress/10565/1 "2018-10-13T11:23:08Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Jenny](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jenny/32/24_2.png) [@Jenny](https://community.hubspot.com/u/Jenny)\
**Post date:** [October 15, 2018, 12:29pm UTC](https://community.hubspot.com/t/error-api-ninja-popup-using-wordpress/10565/2 "2018-10-15T12:29:00Z")

</div>

Hi @GonzaloP,

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

Thanks,  
Jenny

---

<div class="post-metadata">

**Author:** ![GonzaloP](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/gonzalop/32/48165_2.png) [@GonzaloP](https://community.hubspot.com/u/GonzaloP)\
**Post date:** [October 16, 2018, 9:39am UTC](https://community.hubspot.com/t/error-api-ninja-popup-using-wordpress/10565/3 "2018-10-16T09:39:22Z")

</div>

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

thanks
