Uploaded Gmail Attachment To Google Drive (with mimeType?)

I’m disappointed with the lack of help in this community. It seems you almost always end up finding the answer yourself after days or weeks in my case.

So I’ll tell you the solution! You prepend data:application/pdf;base64, to the base64 string. It’s explained in this post: How to change image to pdf - #2 by GunnerJnr

1 Like