Good day community,
I'm trying to check if a Folder exists in a SharePoint Document Library before creating a new one, since currently if it exists, the create folder simply replaces the existing folder.
Basically I try to "Get Folder Metadata using Path" by inserting the PATH from a VARIABLE to check, and if success then folder exists and if not then it doesn't.
The problem is it doesn't accept the folder path i am trying to pass from a variable
Attached a screenshot of the error, any help is appreciated
Error text:
InvalidTemplate. Unable to process template language expressions in action 'Get_folder_metadata_using_path' inputs at line '1' and column '2793': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline_1']['connectionId']' cannot be evaluated because property 'shared_sharepointonline_1' doesn't exist, available properties are 'shared_sharepointonline'. Please see https://aka.ms/logicexpressions for usage details.'.
