# Issue with File Upload - Supabase

**URL:** <https://community.weweb.io/t/issue-with-file-upload-supabase/8831>\
**Category:** How do I?\
**Created:** [May 28, 2024, 4:31pm UTC](https://community.weweb.io/t/issue-with-file-upload-supabase/8831 "2024-05-28T16:31:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Corner](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@Corner](https://community.weweb.io/u/Corner)\
**Post date:** [May 28, 2024, 4:31pm UTC](https://community.weweb.io/t/issue-with-file-upload-supabase/8831/1 "2024-05-28T16:31:50Z")

</div>

Hello, I’m struggling with uploading a file within Supabase : when trying to, I get the error message “invalid key”  
 ![Capture d'écran 2024-05-28 182553](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/1/1671728642be4f2c5e5e942de6b213d9dda7cfe5.png)  
I thought I made the right connections but apparently not …  
Here is for the path :

 ![Capture d'écran 2024-05-28 182617](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/a20926d20f095c580cc09368d5f2044510ccec5f.png)  
Here is for the file :  
 ![Capture d'écran 2024-05-28 182627](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/b/be4518876e3b492339cdb0e37ce25c15ba3b21a3.png)  
Does this have something to do with the URL of the object ? That should be a Blob and currently it’s somehting like https:/cdn.weweb.io…  
I also applied the workflow to the form (“on submit”) and not on the file input element. And RLS policies are enabled!  
Thanks in advance for your reply 🙂

---

<div class="post-metadata">

**Author:** ![Corner](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@Corner](https://community.weweb.io/u/Corner)\
**Post date:** [June 3, 2024, 11:39am UTC](https://community.weweb.io/t/issue-with-file-upload-supabase/8831/2 "2024-06-03T11:39:37Z")

</div>

I finally found the cause of this error : file name can’t contains accent like “é” or “è”

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 4, 2024, 3:39pm UTC](https://community.weweb.io/t/issue-with-file-upload-supabase/8831/3 "2024-06-04T15:39:00Z")

</div>

Ha! That’s good to know. Thanks for taking the time to share the solution on here.

---

<div class="post-metadata">

**Author:** ![Corner](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@Corner](https://community.weweb.io/u/Corner)\
**Post date:** [June 5, 2024, 4:05pm UTC](https://community.weweb.io/t/issue-with-file-upload-supabase/8831/4 "2024-06-05T16:05:42Z")

</div>

Haha thanks @Joyce, I think I’m asking for some random problems but still, it huge steps for me each time 😅

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [June 5, 2024, 5:17pm UTC](https://community.weweb.io/t/issue-with-file-upload-supabase/8831/5 "2024-06-05T17:17:23Z")

</div>

Yeaaah and I’m sure if you’re running into an issue, others are as well so it’s never lost time to share your thoughts and findings here! 😀
