cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TesDA
Continued Contributor
Continued Contributor

Send an email - Sharepoint Attachment Error

I'm getting the below error when trying to attach a sharepoint grouped attachment. Is there a better way to attach all attachments associated with a row in a list in sharepoint?

 

error.jpgSharepointAttach.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @TesDA,

 

Please use the Get attachment content action to do it instead of Get file content action:

Annotation 2020-04-07 171101.png

 

Above it is only one attachment in the list item, if there is multiple attachments in the item, you should initialize an array variable to store the file name and attachment content:Annotation 2020-04-07 171834.png

 

Annotation 2020-04-07 171849.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
ChristianAbata
Super User
Super User

hi @TesDA  this error is becouse your file content from your get file content in empty, I got the same error is like a temporary bug. 



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
v-litu-msft
Community Support
Community Support

Hi @TesDA,

 

Please use the Get attachment content action to do it instead of Get file content action:

Annotation 2020-04-07 171101.png

 

Above it is only one attachment in the list item, if there is multiple attachments in the item, you should initialize an array variable to store the file name and attachment content:Annotation 2020-04-07 171834.png

 

Annotation 2020-04-07 171849.png

 

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (6,135)