Replies: 7 comments 5 replies
|
Did you delete with the Storage UI or Storage API commands? I've not seen anything consistent on when it resets for a valid delete. Could be the next billing period. |
|
Hi dmishkan, Sorry to hear your storage usage still isn’t updating after deleting files—that must be really frustrating, especially when you’re trying to get back under the Free plan limit. Let’s break down why this might be happening (building on Gary’s note about orphaned data) and walk through actionable steps to fix it: 1. First: Check if you have "orphaned data" (the #1 cause of stuck usage)As Gary mentioned, deleting files directly via SQL (e.g., To confirm:
2. Fix: Delete files the "right way" (to clear S3 data)To make sure S3 deletes the actual files (and your usage updates), use Supabase’s official tools instead of SQL: Option A: Delete via the Storage UI (simple for small batches)
Option B: Delete via the Storage API (better for large batches)If you have lots of files, use the API to bulk-delete (avoids UI lag). Replace the placeholders with your project details: curl -X POST 'https://<YOUR_PROJECT_ID>.supabase.co/storage/v1/bucket/<YOUR_BUCKET_NAME>/delete' \
-H 'apikey: <YOUR_ANON_PUBLIC_KEY>' \
-H 'Authorization: Bearer <YOUR_ANON_PUBLIC_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"prefixes": ["path/to/folder1", "path/to/file2.jpg"] // List files/folders to delete
}'Find your 3. When will the storage usage update?After deleting via UI/API:
If it’s been >24 hours:
4. If it still doesn’t update: Check for hidden files + escalate to supportSometimes hidden files (e.g., old backups, partial uploads) take up space without showing in the bucket. To check:
If this happens (or usage still sticks):
Supabase’s team can manually trigger an S3 sync to clear stuck data—this usually fixes the issue quickly. 5. Quick note on your grace periodThe "grace period until end of month" means your storage won’t be disabled until then—you don’t need to wait for the next billing cycle. Once you get usage under the limit (via correct deletions), the "over limit" warning will disappear automatically. Let me know if you hit snags with the UI/API delete, or if usage still doesn’t update after trying this! Best regards, |
|
Hi @guomengtao I have optimized and cached my db queries and even fetching only needed data. Just to confirm I want to stay on free now since my app just went live. Will the egression reset once the grace period ends?
|
|
Hi @Bruh-Codes, |
|
Hi @dmishkan, I'm sorry to hear you're still facing restrictions even after the billing cycle reset—this must be really frustrating! Let's troubleshoot this step by step:
Supabase support can manually check the status of your account restrictions and should be able to resolve this quickly. This isn't a permanent restriction—just a system synchronization issue that needs manual intervention. Let me know if you need help with any of these steps! |
|
@guomengtao my database just reset today which is fine but I am still getting this grace period warning. Does it mean no matter what I have to upgrade?
|
|
Hey there! First, no need to jump to upgrading right away—let’s break down why that grace period warning is still popping up even after your database reset. Mostly, the warning ties to your account’s plan status (like a free trial or expired subscription) rather than the database’s data itself. Resetting the database only clears its content, not the countdown for your plan’s grace period. Here’s what you can do step by step:
If none of this works, reach out to the support team with your account ID, database name, and a screenshot of the warning. They can fix it directly or confirm if upgrading is actually needed. You’ve got this! |




Uh oh!
There was an error while loading. Please reload this page.
So it says on my free plan that I have exceeded the limits (specifically, I have exceeded the storage limitations) for the current billing cycle and that I have a grace period until the end of the month. So I went ahead and deleted almost everything from my storage buckets, waited almost 24 hours, but it still shows that I have exceeded the limits and the storage used still shows the same exceeded number from before I made all of those deletions.
What is going on here? Does it just take more time to update? Or do I have to wait until the start of the next billing cycle in order to see that I'm not going over.
All reactions