Edge function application/pdf response parsed as string not blob
@sungodtemple▲ 0 net votes
The supabase-js functions.invoke() client fails to blob-parse responses whose Content-Type is application/pdf (and other specific types like DOCX); it returns a string while the bytes are correct. Return application/octet-stream from the edge function instead and the client parses it as a blob correctly.