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.
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.
