We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have an app that displays multiple images in a list. Each of those images is requested via getPublicUrl like so:
getPublicUrl
export function getPreviewUrl( supabase: SupabaseClient<Database>, path_tokens: z.infer<typeof pathTokenSchema>, ) { try { const { data: { publicUrl }, } = supabase.storage .from('thumbnails') .getPublicUrl(path_tokens.thumbnailPath, { download: true }); return publicUrl; } catch (error) { if (error instanceof Error) { console.log('Error downloading image: ', error.message); } Sentry.captureException(error); return ''; } }
for some reason, sometimes a 400 Bad request error gets thrown but others load just fine. Any idea why this happens?
400 Bad request
I expected to be able to show my "thumbnails" for each image.
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Hello, can you please share more information about the error you are getting ex:
Thanks
Sorry, something went wrong.
No branches or pull requests
Bug report
Describe the bug
I have an app that displays multiple images in a list. Each of those images is requested via
getPublicUrl
like so:for some reason, sometimes a
400 Bad request
error gets thrown but others load just fine. Any idea why this happens?Expected behavior
I expected to be able to show my "thumbnails" for each image.
Screenshots
System information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: