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] databricks bundle init #795
Comments
Having the same issue. |
Hey @mzwiesler , I solved it for me. Do you have multiple user profiles in your .databrickscfg file? |
Hi @christopher-danz |
I feel like I tried everything there is to troubleshoot.. empty cache, create new .databrickscfg file, generate new token, ... the whole thing and I am not entirely sure what made the differnce in the end.. After ensuring you authenticate correctly, try to run: then run: I then ran: I hope this will solve your issue, if not let me know. Maybe I can further assist you. |
Hi @christopher-danz |
I'm glad it worked out for both of us. 😊 |
Description
Calling
databricks bundles init
returns the following error: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.
Reproduction
Running
databricks bundles init
:Expected behavior
Creation of databricks asset bundle
Is it a regression?
using databricks cli v0.212.3
Debug Logs
Request log:
Other Information
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: