Hello,
I've created a flow to convert a SharePoint Online List item into a pdf file to be shared in a Online OneDrive location, however, I continue to get a 401 Unauthorized error. Can someone help to get me past this last step in the flow. Thanks
Body
{
"status": 401,
"message": "Unauthorized",
"source": "api.connectorp.svs.ms"
}
Thank you, this helped and fixed the issue....I had the full path instead of just the root path.
Thank you for posting.
According to your description, you would like to create PDF file from a SharePoint list and then copy to a OneDrive location. If I misunderstood, please kindly let me know.
You would get such error if you using direct OneDrive URL because the only ‘/folderpath’ can be recognized by flow. Thus, you need to add another connection to connect to that OneDrive account and initial ‘create file 2’ action again.
Please keep all your flow configuration and go to ‘create file 2’ action. Please click on ‘…’ button and navigate to ‘My connection’. Please click on ‘add a connection‘ and input that OneDrive account to make it authenticated by flow. Then you will be able to select the folder path of that specific OneDrive account.
Hope the content above may help you.
Thanks
Anna
WarrenBelz
146,601
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,946
Most Valuable Professional