Skip to content

Export databrick env fails #87

Description

@Swathi41bora

WARNING: This feature is EXPERIMENTAL and still UNDER DEVELOPMENT!
Invoke-RestMethod : {"error_code":403,"message":"Invalid access to Org: 7127657513572111"}
At C:\Program Files\WindowsPowerShell\Modules\DatabricksPS\1.12.0.1\Public\General.ps1:96 char:13

  • ... $result = Invoke-RestMethod -Uri $apiUrl -Method $Method -Headers $ ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
      Invoke-RestMethod : {"error_code":403,"message":"Invalid access to Org: 7127657513572111"}
      At C:\Program Files\WindowsPowerShell\Modules\DatabricksPS\1.12.0.1\Public\General.ps1:96 char:13
  • ... $result = Invoke-RestMethod -Uri $apiUrl -Method $Method -Headers $ ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
      WARNING: The following parameters are not supported in Databricks Jobs API 2.0 and will be ignored: -JobName, -ExpandTasks, -Offset, -Limit
      Invoke-RestMethod : {"error_code":403,"message":"Invalid access to Org: 7127657513572111"}
      At C:\Program Files\WindowsPowerShell\Modules\DatabricksPS\1.12.0.1\Public\General.ps1:96 char:13
  • ... $result = Invoke-RestMethod -Uri $apiUrl -Method $Method -Headers $ ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
    • FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions