hello everyone! I worried about a problem that hap...
# help
f
hello everyone! I worried about a problem that happened with me using supabase.. I have 180k objects in my bucket.. but on dashboard just show me 1000
n
Hello @fgiordanelli! This thread has been automatically created from your message in #843999948717555735 a ``few seconds ago``. Pinging @User so that they see this as well! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ... menu) and select Leave Thread to unsubscribe from future updates. Want to change the title? Use the
/title
command! We have solved your problem? Click the button below to archive it.
g
Please don't post separate lines in the main channel as you created 3 separate threads... My guess is 1000 is limit of the fetch for the UI (the API limits requests to 1000 by default. I don't know if the UI has code to page or not. As far as 400 error, you have to have object policies set to allow downloads with the API even for public. Public just means there is a public url available to get the file.
n
fgiordanelli (2022-03-19)
f
sorry man! I can get by list api the other files.. but the problem is 400 error..
g
Do you have select policy set for objects in that bucket?
f
((bucket_id = 'cdn'::text) AND (role() = 'anon'::text))
cdn is the name of my bucket
it is public
g
Are you anon when you try to download it?
f
yes
g
Is that the public url you got for the file or is that a url from storage.download.... Edit... can't be from download as that would need to be signed.
f
public url
g
OK that is what threw me... You are not having issue with supabase.download, just your public url
f
const { publicURL, error2 } = supabase .storage .from('cdn') .getPublicUrl('a-companhia-adota-a-politica-de-classificar-dividendos-a-pag-804057-1')
problem for supabase.download as well
g
I wonder if the file is really there. Seems like it is not.
f
it is production.. It seems supabase removed 180 k files of mine
g
getPublicURL does not actually do anything but build a url
f
I know it
in UI showed me all files and pagination.. now, just 1000
something happened
g
AHH. That is different info, so it did work.
I would start a support request.
f
exactly
before it happen, I received a response like a XML saying to limit my requests
when I download the file
bizare
g
Are you paid? Not sure why hitting a soft limit though would all of a sudden change file number returned.
f
yes
I sent to support.. Im trying to get out of supabase.. Anytime a problem about scalebility
As a Pro tier user, we will aim to respond to you in 24-48 hours. You can find also community support using Github Discussions here:
g
Sorry, for having gone over basic stuff with you. If you don't mind when you hit the 1000 limit in the UI is that a "page" and then you can't get more with a page tab? Like maybe your instance has shut down access to storage after that? Of course feel free to just deal with Supabase as there is little I can do if it is a system problem.
there is some objects that are ok but the majory not
g
That is not good news, you are not cut off for access... I assume you've not heard back from support yet... Any relation between those two files with the -1, -2 like a version number? If so do you run some sort of pruning process? (I know you said the file object is still in the object table so I would think not deleted thru the storage api).... Once again, just making guesses.