Back

Appwrite nonsense CORS error

  • 0
  • Web
  • Cloud
bonndubz
19 Oct, 2024, 01:09

i get this image when i access the link that prompts the cors error

TL;DR
Developers are troubleshooting a CORS error with an Appwrite request. They suspect the issue might be on their side and mention it was working before. They mention trying npm i again and updating the SDK. One developer mentions listing document calls and checking the console for errors. They're puzzled about why it's not working on the first request but works the second time. All necessary permissions are allowed on the dashboard.
bonndubz
19 Oct, 2024, 01:10

the thing is that i get the request nicely at second time

bonndubz
19 Oct, 2024, 01:10
bonndubz
19 Oct, 2024, 01:10

makes no sense

bonndubz
19 Oct, 2024, 01:11

and i have all the stuff allowed for my site links in the dashboard as well

bonndubz
19 Oct, 2024, 01:11
bonndubz
19 Oct, 2024, 01:12

this is my console

Steven
19 Oct, 2024, 01:21

can you try updating your sdk?

bonndubz
19 Oct, 2024, 01:25

i did

bonndubz
19 Oct, 2024, 01:25

i did npm i again if thats what you mean

Steven
19 Oct, 2024, 01:25

also, it's probably not really a CORS error. It's a failed request. You have to list document calls. one works and one doesn't

bonndubz
19 Oct, 2024, 01:25

yeah but they worked before

bonndubz
19 Oct, 2024, 01:25

like

bonndubz
19 Oct, 2024, 01:25

weeks ago

bonndubz
19 Oct, 2024, 01:25

havent touched anything

Steven
19 Oct, 2024, 01:33

i see. i think we were blocking something from our side. It should be good now

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