We’re using Capella App Services to sync data with PouchDB (running in the browser).
The Endpoint Service is configured with Advanced CORS settings, and authentication is handled via a web token.
Issue
We’re consistently encountering a CORS error when making the preflight request to the base path (/).
All other API routes work perfectly- only requests to the base path fail.
We’ve also tried explicitly setting CORS headers (in the headers field), but the result is the same.
Error
Access to fetch at ‘https://project-id.apps.cloud.couchbase.com:4984/’
from origin ‘https://deployed.app’ has been blocked by CORS policy:
Response to preflight request doesn’t pass access control check:
No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
Question
Has anyone encountered similar behavior or found a reliable workaround for CORS errors specific to the base path in Capella App Services?