How can I use Puppeteer to upload a PDF to Supabase? or Best way to upload a PDF to Supabase using Pu

14 Replies, 1576 Views

Struggled with puppeteer upload pdf to supabase too. Found that `page.uploadFile()` is flaky with Supabase’s API.

Workaround: Use `page.pdf()` to get the buffer, then POST it via fetch or the Supabase SDK.

Also, make sure your bucket permissions are set to public/private correctly. That tripped me up for hours lol.

Messages In This Thread



Users browsing this thread: 1 Guest(s)