Title: API CORS error
Last modified: April 4, 2024

---

# API CORS error

 *  Resolved [renzivantest](https://wordpress.org/support/users/renzivantest/)
 * (@renzivantest)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/api-cors-error/)
 * I have a Vue app, in which it creates users, after saving the users in my database,
   I also want to save it in Jetpack CRM via API ([https://automattic.github.io/jetpack-crm-api-docs/#create-customer](https://automattic.github.io/jetpack-crm-api-docs/#create-customer)).
 * I already have my url, api_key and api_secret. But whenever I call the API it
   throws CORS policy error.
    -  This topic was modified 2 years, 1 month ago by [renzivantest](https://wordpress.org/support/users/renzivantest/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [renzivantest](https://wordpress.org/support/users/renzivantest/)
 * (@renzivantest)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/api-cors-error/#post-17552365)
 * This is resolved. I used cloud functions to call the API from the backend instead
   of calling it from the frontend.
 *  Plugin Support [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * (@erania-pinnera)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/api-cors-error/#post-17553666)
 * Hi there, [@renzivantest](https://wordpress.org/support/users/renzivantest/),
 * Thanks for letting us know you figured it out! Thanks also for sharing what you
   did to fix the problem: that could come in handy to other users having the same
   issue ⭐
 * Any other questions or problems, you’re welcome to start another thread. Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘API CORS error’ is closed to new replies.

 * ![](https://ps.w.org/zero-bs-crm/assets/icon.svg?rev=2821636)
 * [Jetpack CRM - Clients, Leads, Invoices, Billing, Email Marketing, & Automation](https://wordpress.org/plugins/zero-bs-crm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zero-bs-crm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zero-bs-crm/)
 * [Active Topics](https://wordpress.org/support/plugin/zero-bs-crm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zero-bs-crm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zero-bs-crm/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [vue](https://wordpress.org/support/topic-tag/vue/)

 * 2 replies
 * 2 participants
 * Last reply from: [Stef (a11n)](https://wordpress.org/support/users/erania-pinnera/)
 * Last activity: [2 years, 1 month ago](https://wordpress.org/support/topic/api-cors-error/#post-17553666)
 * Status: resolved