Hello friends.
I am having problem with Workspace API. I have many folders inside my /Workspace (200+) which I would like to copy my Program, whole Program folder, which includes 20 spark scripts are Databricks notebooks. I tried Workspace API and I am getting this error:
Could not parse request objectL Failed to Decode VALUE_STRING as base 64.
How could I decode it as base64. Please take a note that these are Databricks notebooks. Thanks everyone for help.
my_body looks like that
payload = {
"path": "/Workspace/Destination/Program",
"format": "SOURCE",
"language": "Python",
"content": "/Workspace/Source/Program",
"overwrite": True
}
response = requests.post("{}{}".format(workspace_url, api), data=json.dumps(payload), headers=auth)