hbs59
New Contributor III

Sure, I ran the following:

requests.request(
    method = 'GET',
    url = 'https://{host}/api/2.0/workspace/export/', 
    params = {'path' : '/Users/{user}/{folder}/'},
    headers = {'Authorization' : f'Bearer {host_token}'}
    )

As far as I can tell, the error is the same:

<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 Bad Target: GET /2.0/workspace/export/</title>
</head>
<body><h2>HTTP ERROR 404 Bad Target: GET /2.0/workspace/export/</h2>
<table>
<tr><th>URI:</th><td>/api/2.0/workspace/export/</td></tr>
<tr><th>STATUS:</th><td>404</td></tr>
<tr><th>MESSAGE:</th><td>Bad Target: GET /2.0/workspace/export/</td></tr>
<tr><th>SERVLET:</th><td>com.databricks.webapp.WebappDispatcherServletWithProxy-45f675a4</td></tr>
</table>