Hey! I had a similar issue with puppeteer upload pdf to supabase. What worked for me was using the `page.uploadFile()` method in Puppeteer to handle the file selection, and then using Supabase's `storage.from().upload()` to push the file.
Also, make sure your Supabase bucket permissions are set correctly! I wasted hours debugging only to realize it was a permissions issue lol.
For error handling, wrap your upload logic in a try-catch block and log the errors. It’s saved me so much time.
Also, make sure your Supabase bucket permissions are set correctly! I wasted hours debugging only to realize it was a permissions issue lol.
For error handling, wrap your upload logic in a try-catch block and log the errors. It’s saved me so much time.
