Directus - getting CORS error when attempting to access API from browser

Hello,

I’m getting CORS errors when trying to access the my directus instance’s API from the browser.

For reference, I am using this: https://nuxt-directus.netlify.app/

But, even standard ajax request’s are failing as long as they are coming from the browser (server to server API requests work)

I have attempted to changing various configuration settings based on this documentation: Configuration Options | Directus Docs

Nothing seems to work. Am I missing something?

Hi @Jasudavi, welcome to the forum and thanks for asking the question!

This may be a better question to ask on a Directus forum or see if there have been any related issues in the past on their GitHub repo - https://github.com/directus/directus/issues?q=.

We do have several community members that work with Directus, hopefully one of them has seen this before and can provide some additional insights.