Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] Failed attempting to create asset bundle template #1101

Open
nickrbhall965 opened this issue Dec 13, 2024 · 0 comments
Open

[ISSUE] Failed attempting to create asset bundle template #1101

nickrbhall965 opened this issue Dec 13, 2024 · 0 comments

Comments

@nickrbhall965
Copy link

Description
I am trying to create my first asset bundle. I am operating in git bash in my feature branch. I executed databricks bundle init default-python and got a failure notification indicating it was likely a bug

Reproduction
databricks bundle init default-python

Expected behavior
I was expecting a successful outcome and then to go and look for some template files however I got the error shown below

Is it a regression?
This is the first time i have tried to create an asset bundle template

Debug Logs
Welcome to the default Python template for Databricks Asset Bundles!
Error: failed to compute file content for {{.project_name}}/databricks.yml.tmpl. template: :35:31: executing "" at <user_name>: error calling user_name: 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/windows cmd/bundle_init auth/pat
< HTTP/1.1 403 Forbidden
< * Content-Length: 119
< * Content-Type: application/json; charset=utf-8
< * Date: Fri, 13 Dec 2024 22:26:46 GMT
< * Server: databricks
< * Vary: Accept-Encoding
< * X-Databricks-Reason-Phrase: Invalid access token. [TraceId: 00-d872ad91f4ce49d019c565e00339d9d1-6556f6c601a2f20d-00]
< * X-Request-Id: 46937fcd-6597-4bd4-a601-441d6b327f86
< {
<   "error_code": 403,
<   "message": "Invalid access token. [TraceId: 00-d872ad91f4ce49d019c565e00339d9d1-6556f6c601a2f20d-00]"
< }


**Other Information**
-Windows 10 Enterprise

**Additional context**
n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant