formData.append('file', imageFile); const response = await fetch(`/api/upload`, { body: formData, method: 'POST', } ); const {data, error} = await response.json() as { data: { url: string }|null, error: string | null }; const {data, error} = await supabaseUpload(imageFile)...
Bug report I confirm this is a bug with Supabase, not with my own application. I confirm I have searched the Docs, GitHub Discussions, and Discord. Describe the bug On trying to upload an image file to storage (20MB), I get a 413 Maximum...
export async function uploadImage( bucketName: string, fileName: string, uri: string ) { const projectUrl = process.env.EXPO_PUBLIC_SUPABASE_PROJECT_ID; const anonKey = process.env.EXPO_PUBLIC_SUPABASE_KEY; const supabaseStorageURL = `${projectUrl}/storage/v1/upload/resumable`; const { dat...
Code to throw an error const { data, error } = await createServerActionClient({ cookies }, { supabaseKey: process.env.SUPABASE_SERVICE_ROLE_KEY, supabaseUrl: process.env.NEXT_PUBLIC_SUPABASE_URL }) .storage .from('images') .upload(path, image); ...
Add a description, image, and links to thefile-upload-servertopic page so that developers can more easily learn about it. Add this topic to your repo To associate your repository with thefile-upload-servertopic, visit your repo's landing page and select "manage topics."...