Back

The current user is not authorized to perform the requested action.

  • 0
  • Web
amsdev.
12 Mar, 2024, 11:16

When I using function createFile() to upload image but i have error. how to solve this issue.

TL;DR
Developers are experiencing authorization issues when trying to perform an action. The solution is to update the max filesize to 50MB. If using a free account, check for Create Permissions on the Bucket. The error occurs when using createFile() function to upload an image.
ideclon
12 Mar, 2024, 11:17

Does the user have Create Permissions on the Bucket?

amsdev.
12 Mar, 2024, 11:18

I can't because i using account free

ideclon
12 Mar, 2024, 11:19

Do you mean a free Cloud account? So what?

amsdev.
12 Mar, 2024, 11:20

Here!

ideclon
12 Mar, 2024, 11:20

Oh right, that's a bug. You'll have to update the max filesize to 50MB I think? Then you can put it back up, IIRC

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