Open
Description
When importing the notebooks using the Import-DatabricksEnvironment command, it's not creating a Directory and getting below error. Looks like the $x = Add-DatabricksWorkspaceDirectory -Path $dbPath -ErrorAction SilentlyContinue, is not working or even though it failed, it's Silently continuing. so, we don't know what is the issue here to create the Directory? How do we overcome this issue?
Invoke-RestMethod : {"error_code":"RESOURCE_DOES_NOT_EXIST","message":"The
parent folder (/Views) does not exist."}
At C:\Users\ContainerAdministrator\Documents\WindowsPowerShell\Modules\Databric
ksPS\1.12.0.1\Public\General.ps1:96 char:13
- ... $result = Invoke-RestMethod -Uri $apiUrl -Method $Method -Headers $ ...
-
- CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:Htt
pWebRequest) [Invoke-RestMethod], WebException - FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShe
ll.Commands.InvokeRestMethodCommand
Metadata
Metadata
Assignees
Labels
No labels