Forum Discussion
pcmarley
Feb 01, 2021Copper Contributor
Bad Request Creating Folder In SharePoint
Hello, I'm trying to create a folder in SharePoint: folder_url = 'https://<site url>/_api/web/folders'
headers = {
'Authorization': 'Bearer {}'.format(my_access_token),
'Accept': 'a...
Rahul Mittal (ODSP)
Microsoft
Feb 02, 2021pcmarley
Can you try inserting a '/' in the front of your 'ServerRelativeUrl' parameter? i.e.
'ServerRelativeUrl': '/Shared Documents/mytestfolder'