Showing results for 
Search instead for 
Did you mean: 
Advocate II
Advocate II

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 III
Dual Super User III

Hi @JunkoOhara 


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

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (7,180)