[SOLVED] CORS error only on tables db api After update to 1.8.0
- 0
- Resolved
- 2
- Self Hosted
- Flutter
- Sites
I've recently updated my self hosted appwrite instance to the 1.8.0 and updated my frontend with the tables db apis but strangely, even if I'm able to log in, get preferences, I get 403 Forbidden Cors error on endpoints which uses TablesDB apis, I'm missing something?
The app was working perfectly before the update to 1.8.0
Maybe your frontend origin isn’t correctly registered or you’re still using old database endpoints.
In Appwrite Console → Settings → Platforms, add your frontend’s exact origin (including protocol, domain, and port).
Update your frontend SDK or API calls to use the new /v1/tablesdb/... endpoints (not /v1/databases/...).
Ensure requests include X-Appwrite-Project and a valid session or JWT.
Check your table and row permissions — the logged-in user must have access.
If self-hosted, verify _APP_DOMAIN and _APP_DOMAIN_TARGET match your external domain.
The issue was given by our WAF... Thank you for your answer ☺️
Can you tell us what was the issue, and how did you solve it?
The problem was caused by our corporate WAF, which is a Bunkerweb, which saw the parameters of the calls to the new tables API as an attempt at SQL injection, we set the rule on the WAF which now no longer blocks the requests. Hope this explains
Than you for the explanation!
[SOLVED] CORS error only on tables db api After update to 1.8.0
Recommended threads
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Static IP for security purpose!
Hey I am hosting a next.js project in appwrite it reaches out to mongo DB to fetch data The only option to enable network access to 0.0.0.0/0 in mongo DB (any ...
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...