Hello everyone, I'm trying to run a flow with Office Scripts on Excel file red from Sharepoint document library.
Office Script works perfectly when I manually execute it on static Excel file.
However, when I set a dynamic file value from sharepoint library, I get 404 error such:
"The script could not be executed. Please try again. The script was unable to create a connection with Excel. Please try again"
(error message translated from italian...).
Flow extract follows:
I've tried Name, DisplayName, Id and more, but nothing seems to work.
Thank you for any help!
PS. my flow works with no errors when I remove "Execute script" action... 😏
Solved! Go to Solution.
Thanks for answer @Yutao , I get the result adding an action between "Create file" on Sharepoint and "Run script": choosing "Get file properties" I used the item "Identifier". It worked for me!
Hi @Gilgamesh ,
"Id" seems to be working for me.
If it still doesn't work for you, could you please share (or PM me) the "x-ms-client-request-id" from the error output?
Thanks!
Yutao
Thanks for answer @Yutao , I get the result adding an action between "Create file" on Sharepoint and "Run script": choosing "Get file properties" I used the item "Identifier". It worked for me!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.