How to connect Vercel to Appwrite (and vice versa)

Attempting to connect from a Vercel Deployed App (*-projects.vercel.app) to AppWrite.

Issues:
Request URL: https://cloud.appwrite.io/v1/account
Request Method: POST
Status Code: 403 Forbidden
Referrer Policy: strict-origin-when-cross-origin

Currently hitting a 403 forbidden, is there any way to specify to allow CORS connections to/from a project - or would this more be on the AppWrite side?

Thanks,
Fletch

Hi, @admin-canterburyte! Welcome to the Vercel Community :smile:

Vercel generally doesn’t restrict outgoing requests from your deployed applications. This means the issue is more likely on the receiving end (AppWrite in this case) or in your application’s configuration.

I recommend focusing on AppWrite’s CORS settings and ensuring your application is sending the correct headers with its requests.

Let us know how you get on!

Okay cool, thanks for the update!