cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rizwanmahfooz
Regular Visitor

Add Attachment to SharePoint list item not working

AddAttachments.PNG

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @rizwanmahfooz,

 

The error means that there is something wrong with input parameters in your “Add attachment” action.

I have made a test on my side and don’t have the issue that you mentioned. The flow works successfully as below:6.JPG

Please check if you fill proper File Name and File Content in “Add attachment” action.

 

Besides, please check if you have set Has Attachment and Include Attachments property to YES. The screenshot of trigger’s configuration as below:5.JPG

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
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

5 REPLIES 5
v-xida-msft
Community Support
Community Support

Hi @rizwanmahfooz,

 

The error means that there is something wrong with input parameters in your “Add attachment” action.

I have made a test on my side and don’t have the issue that you mentioned. The flow works successfully as below:6.JPG

Please check if you fill proper File Name and File Content in “Add attachment” action.

 

Besides, please check if you have set Has Attachment and Include Attachments property to YES. The screenshot of trigger’s configuration as below:5.JPG

 

 

Best regards,

Kris

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

Hi 

 

 

 

 

 

 

 

 

pic flow 3.PNG

pNabin
Advocate V
Advocate V

@v-xida-msft @rizwanmahfooz,

I am able to attach all the files from Emails to SharePoint list item for most of the file types. For .txt file type, If I provide filename manually with .txt extension, it works otherwise it throws an error. Any ideas on how to resolve it?

2018-10-01_16-38-58.gif

Hi @v-xida-msft , 

I am having the same issue. can you please put the picture of the flow especially "Add attachment" part.

Jaystechtips
Advocate II
Advocate II

Hi @v-xida-msft 

I followed the flow described here, but instead of using email as trigger, i used Flow button to trigger the flow.

When the button is pressed, it will as for a file name and file to be uploaded to an SP list.

Flow Working.png

 

 

 

 

And i'm able to update the sharepoint item. However, I attached a PDF file, but when i opened the item it just shows the file without any file type. 

File type.pngAttachment in SP list.PNG

 

 

 

 

 

 

 

Is there an extra step i need to do to keep the same file type when I update an item with an attachment?

 

Many thanks!

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.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,159)