databricks-sdk-go
databricks-sdk-go copied to clipboard
[ISSUE] Databricks bundle creation / validation issue
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