# CORS error for subscription in Netlify website

**URL:** <https://forum.ghost.org/t/cors-error-for-subscription-in-netlify-website/31466>\
**Category:** Developer help\
**Created:** [July 20, 2022, 11:24am UTC](https://forum.ghost.org/t/cors-error-for-subscription-in-netlify-website/31466 "2022-07-20T11:24:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![msukmana](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/msukmana/32/17790_2.png) [@msukmana](https://forum.ghost.org/u/msukmana)\
**Post date:** [July 20, 2022, 11:24am UTC](https://forum.ghost.org/t/cors-error-for-subscription-in-netlify-website/31466/1 "2022-07-20T11:24:54Z")

</div>

So I would like to add the subscription form to our website hosted in Netlify (React, Next.JS) that would allow adding new subscribers to the Ghost platform. However, making a post request to add a new subscriber works fine on localhost but returns CORs ERROR on deployed Netlify host. Stack used (React, Next js).

Error CORS

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/c/8/c8f3d52e74901502dc96a801d9cd4b1fb06bf463.png)
