Skip to main content

I am trying to upload /attach a pdf file from salesforce to Quickbooks. The action of Quickbooks online “Attach a file or Note” doesnt seems to be working. Generally attaching file should support basic types of file which is pdf. However I am getting below error message on the testing of this step: 

Failed to create an attachment in QuickBooks Online

The app returned "Operation Failure parsing MediaType string: PDF is not supported.".

Hi ​@neetikapandey 

For us to have more info, post these screenshots:

  • how your Zap steps are outlined
  • how your Zap steps are configured in EDIT mode with the field mappings visible
  • the encountered error for the Zap step

Here are the screenshots of the zaps, last step is failing which attach a file or note:

 


Hi ​@neetikapandey,

 

Welcome to the Community.

 

The error message "PDF isn't supported"in step 6 of your Zap likely stems from QuickBooks Online not recognizing the MIME type or receiving an incomplete file reference. Although PDFs are supported, QuickBooks expects an actual file blob or a properly formatted Base64-encoded file—just passing a URL or ID won't work. To resolve this, pass a valid file with the correct MIME type (for example, application/pdf). You can also use a Webhooks by Zapier step to POST the file directly to QuickBooks with the correct headers. Add a Code step to fetch and reformat the file data if needed.

 

Let us know if you need further assistance. We'reWe're here to help.