i have swithced to organisation to avoid CORS error. The website works well when i see it on my local port as i am writing the code on my local machine using VITE. however i have deployed it on Netlify but i am getting this error
Uncaught (in promise) Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the “X-Api-Key” or “Authorization” headers to be explicitly omitted
at Ve.validateHeaders (index-C2FzkKlS.js:80:678)
at Ve.buildHeaders (index-C2FzkKlS.js:71:6559)
at Ve.buildRequest (index-C2FzkKlS.js:71:5915)
at Ve.makeRequest (index-C2FzkKlS.js:71:7283)
at async yE (index-C2FzkKlS.js:86:106)
at async m (index-C2FzkKlS.js:86:480)