cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Get file properties failing with error

I have a Flow triggered from a formatted column in a SharePoint list. The Flow consists of the 'For a selected file' trigger, followed by 'Get file properties' and finally, 'Send an email notification' (which uses file properites).

 

The 'Get file properites' is failing in this with the following error:

 

Unable to process template language expressions in action 'Get_files_(properties_only)' inputs at line '1' and column '1880': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline']['connectionId']' cannot be evaluated because property 'X-MS-APIM-Tokens' doesn't exist, available properties are 'Connection, Accept, Accept-Encoding, Accept-Language, Host, Referer, TE, User-Agent, origin, dnt, Content-Length, Content-Type'. Please see https://aka.ms/logicexpressions for usage details.'.

 

The error doesn't mean much to me given this is an out of the box action.

6 REPLIES 6
Super User II
Super User II

If you could provide an expanded screenshot of your Flow and steps, and of any detailed error messages you're receiving we could likely better assist you.

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!

Sure, heres the Flow and the full error. For selected file points to the appropriate site/library, Get file properties is the OOTB action and has the same site/library reference and FileId for the Id value.

 

Capture.PNG

This is an issue that sometimes crops it's head up for various reasons, and is usually cleared up by starting the Flow from scratch. It usually happens when you add/remove a few steps that link with one another. 

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!

I've attempted 3 different Flows, from scratch, just adding the Mail action to the end. All have the same exact error.

Solution Sage
Solution Sage

Hi @trevorseward ,

I have made a same flow as yours, and it works well.

Please take a reference:

Capture5.PNGCapture6.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

OK, but that doesn't solve my issue.

Capture.PNG

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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 (34,114)