databricks-sdk-go icon indicating copy to clipboard operation
databricks-sdk-go copied to clipboard

[ISSUE] Databricks bundle creation / validation issue

Open cmonteiro1 opened this issue 1 year ago • 1 comments
trafficstars

Description Attempting to create an Asset Bundle to deploy, fails on bundle validation. Error: unable to parse response. This is likely a bug in the Databricks SDK for Go or the underlying REST API.

Reproduction Snippet from bundle creation: artifacts: notebooks: path: Redacted type: notebook files: - source: notebooks/ wheels: path: redacted type: whl files: - source: dist/*.whl

Debug Logs

GET /api/2.0/preview/scim/v2/Me
> * Host: 
> * Accept: application/json
> * Authorization: REDACTED
> * User-Agent: cli/0.229.0 databricks-sdk-go/0.47.0 go/1.22.7 os/linux cmd/bundle_validate auth/pat cicd/github
< HTTP/2.0 400 Bad Request
< * Content-Length: 151
< * Content-Type: text/html; charset=utf-8
< * Date: Tue, 
< * Server: databricks
< * Vary: Accept-Encoding

cmonteiro1 avatar Oct 01 '24 14:10 cmonteiro1