Based on a button in our power app, we want to send an email notification. This email needs to have a .pdf attachment. Currently, this attachment lives in our SharePoint Documents Library. Sometimes I can get the flow to work once or twice and then it quits. I tried changing it based on some other forum discussions, but now it's not working at all.
This is the full error message I am getting on this set up:
Unable to process template language expressions in action 'Get_file_metadata_using_path' inputs at line '1' and column '2069': 'The template language expression 'json(decodeBase64(triggerOutputs().headers['X-MS-APIM-Tokens']))['$connections']['shared_sharepointonline']['connectionId']' cannot be evaluated because property 'shared_sharepointonline' doesn't exist, available properties are 'shared_office365'. Please see https://aka.ms/logicexpressions for usage details.'.