Salesforce Download Document

I have a scenario that archives Salesforce Files to Sharepoint. I’ve been able to build an array of ContentDocumentIds to Download (these correspond to Salesforce Files). When I try to download a file I’m getting an error “The operation failed with an error. [404] The requested resource does not exist”

I’ve attached 2 screenshots. One shows the error and config of the download module plus you can see the ContentDocumentId I’m trying to get AND then another screenshot showing that ContentDocumentId on the SF side working just fine.

Any ideas? I tried switching between Attachment and Document - neither work.

Thanks


As a follow-up to this issue, I was able to get this to work using the Make An API Call function within the Salesforce module. So the downside is that Make doesn’t support File downloads but using the Make an API Call you get do an easy work around. See example below:

1 Like

Good solution @cah23 ! Thanks for posting it on here as well.
Might be that the Make module is expecting something else than you wanted.

1 Like