cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Troubleshooting the Error "Credential was not sent or was of an unsupported type for this API"

Tejsharma
New Contributor


I previously worked on Databricks Asset Bundle (DAB) using a Service Principal token, and it was successful. However, when I attempted it again now, I encountered an error.


Error: failed to compute file content for {{.project_name}}/databricks.yml.tmpl. template: :24:49: executing "" at <user_name>: error calling user_name: Credential was not sent or was of an unsupported type for this API.



1 REPLY 1

Walter_C
Databricks Employee
Databricks Employee

Which type of token are you currently using, is it an Oauth token or Obo token? Have you generated a new token for testing?