web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Exception has been thr...
Power Automate
Unanswered

Exception has been thrown by the target of an invocation. Cannot convert the literal 'ABC.xlsx' to the expected type 'Edm.Binary'

(0) ShareShare
ReportReport
Posted on by

I am trying to add an attachment in D365 Finance using the entity VendorInvoiceDocumentAttachment. The flow works great until this specific step. The file we are trying to attach is on SharePoint. Below is the step created. I have tried using Attachment Content, Name, Path, Path+Name, etc for the file location. I am not sure how to resolve this. Anyone have ideas? 

 

ROWENS_0-1668113907209.png

 

 

 

 

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard