You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
databricks : Error: unexpected error handling request: json: cannot unmarshal number into Go struct field APIErrorBody.error_code of type string. This is likely a bug in the Databricks SDK for Go or the underlying REST API[ISSUE]
#871
I'm encountering an issue connecting Databricks to the Databricks CLI. Whenever I attempt to execute any command on Databricks, I receive the following error:
PS C:\Users> databricks catalogs list
databricks : Error: unexpected error handling request: json: cannot unmarshal number into Go struct field APIErrorBody.error_code of type string. This is likely a bug
in the Databricks SDK for Go or the underlying REST API. Please report this issue with the following debugging information to the SDK issue tracker at https://github.com/databricks/databricks-sdk-go/issues. Request log:
At line:1 char:1
I'm getting the issue when triggering a PR from the CLI, it worked once and then it stopped working with the error:
`Error: unexpected error handling request: json: cannot unmarshal number into Go struct field APIErrorBody.error_code of type string. This is likely a bug in the Databricks SDK for Go or the underlying REST API. Please report this issue with the following debugging information to the SDK issue tracker at https://github.com/databricks/databricks-sdk-go/issues. Request log:
GET /api/2.0/preview/scim/v2/Me
> * Host:
> * Accept: application/json
> * Authorization: REDACTED
> * User-Agent: cli/0.212.2 databricks-sdk-go/0.29.1 go/1.21.6 os/linux cmd/bundle_validate auth/pat cicd/github
< HTTP/2.0 403 Forbidden
< * Content-Length: 126
< * Content-Type: application/json; charset=utf-8
< * Date: Tue, 30 Apr [20](https://github.com/kwulffert23/kw_mlops/actions/runs/8896718188/job/24430146666#step:4:21)24 14:41:36 GMT
< * Server: databricks
< * Vary: Accept-Encoding
< * X-Databricks-Reason-Phrase: Source IP address: 40.71.163.68 is blocked by Databricks IP ACL for workspace: 1444828305810485
< {
< "error_code": 403,
< "message": "Source IP address: 40.71.163.68 is blocked by Databricks IP ACL for workspace: 1444828305810485"
< }
Error: Process completed with exit code 1.`
When it worked once:
All the workflows actions triggered by the PRs after the first one are failing with the same error:
I'm encountering an issue connecting Databricks to the Databricks CLI. Whenever I attempt to execute any command on Databricks, I receive the following error:
PS C:\Users> databricks catalogs list
databricks : Error: unexpected error handling request: json: cannot unmarshal number into Go struct field APIErrorBody.error_code of type string. This is likely a bug
in the Databricks SDK for Go or the underlying REST API. Please report this issue with the following debugging information to the SDK issue tracker at
https://github.com/databricks/databricks-sdk-go/issues. Request log:
At line:1 char:1
The text was updated successfully, but these errors were encountered: