Skip to content
Back

How to connect Vercel to AppWrite?

  • 0
  • Self Hosted
  • Cloud
CTS_LTD
14 Oct, 2024, 14:05

Hitting a 403 Forbidden when attempting to POST to https://cloud.appwrite.io/v1/account Error: 403 Forbidden Referrer Policy: strict-origin-when-cross-origin

TL;DR
Developers are having issues connecting Vercel to AppWrite, getting a 403 Forbidden error when trying to POST. The problem seems to be related to CORS. The solution may involve configuring CORS settings on AppWrite or Vercel to allow the connection.
CTS_LTD
14 Oct, 2024, 14:29

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 Vercel side?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more