I have a power app that a user goes through and selects certain parameters. Data is then passed via JSON to the power automate flow. That flow parses the data into different variables and then uses them in the Populate a Word Template function to create a document. The word template is in a Sharepoint Online site content / documents folder. I have also tried to place this document in a OneDrive.
This all works for when a user from our organization uses it, but when one of our sister companies tries to use it its says "There was an error accessing the file. Please try again or select a different file". I have shared the SharePoint site, the document folder, and the document itself with the user. I tried both SharePoint and OneDrive. I googled and got nowhere, so I am hoping someone here can help.
Here are some screenshots: