Back

#Bucket issue

  • 0
  • Self Hosted
  • Web
  • Cloud
Hansh
9 Oct, 2024, 15:37

I am currently working on my new project creating documents works fine but when i want to upload image in bucket it gives me a CORS error.

Sometimes image gets uploaded and sometimes shows CORS Error . I will be really grateful if someone can help me.

TL;DR
Developers are experiencing a CORS error when trying to upload images in Appwrite bucket. They are using the Appwrite web SDK with the cloud version and not with any SDK. The developers are responsible for adding proper tags and providing more details about their code usage, cloud or self-hosted environment, and the specific issue they are facing.
faye
9 Oct, 2024, 15:43

Could you explain a little more about your code usage, cloud or self hosted and what the exact issue is?

Please add proper tags next time, such as storage and cloud/self hosted.

Hansh
9 Oct, 2024, 15:52

I was trying to create an blog app , but when i upload image it give me a CORS error and i am using cloud version of Appwrite with Web not with any SDK

faye
9 Oct, 2024, 15:53

So self hosted then?

faye
9 Oct, 2024, 15:53

Also, why not use the SDK? It does everything for you.

faye
9 Oct, 2024, 15:54

You also used the tag "web" meaning you are using the appwrite web sdk. So you are using REST API instead?

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