Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sharepoint Get file content - Error executing the api


I'm trying to connect to Sharpoint document library to get a Word Document.

My library is in a subsite, maybe that might be the issue,, but I am not able to get the File Identifier of the document.


It will show me an "Error executing the api" error.

I tried a few time to peek the code which sometimes let me go through,, but not this time..


I also deleted the library and recreated it once. But same result.

Has anyone got the same error?


2019-07-12 16_16_25-Create your flow _ Microsoft Flow.png

Dual Super User II
Dual Super User II

Hi @Anonymous 


In the screenshot, You use teh trigger when an item is created -- SO this is specific to the list items and if you have attachments on the list then you should use the get attachment content action. 


For the files, you should change the trigger to when a file is created instead. 


Hope this Helps!


If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Top Solution Authors
Top Kudoed Authors
Users online (1,243)