Skip to main content

STORAGE_PERMISSION_DENIED

Encountering an error? Get help with AI tools

Error Cause​

The business layer determined that an RLS (Row Level Security) policy denied the operation. This is common in upload permission prechecks and in delete, copy, or move operations.

Solution​

  1. Verify that the current identity has read and write permissions on the target bucket;
  2. Check whether the RLS policies on storage.objects and storage.buckets allow this operation;
  3. Adjust the policies and retry.