Skip to content

Commit

Permalink
[Doc] Add troubleshooting instructions for `databricks OAuth is not s…
Browse files Browse the repository at this point in the history
…upported for this host` error (#3815)

## Changes
<!-- Summary of your changes that are easy to understand -->

## Tests
<!-- 
How is this tested? Please see the checklist below and also describe any
other relevant tests
-->

- [ ] `make test` run locally
- [x] relevant change in `docs/` folder
- [ ] covered with integration tests in `internal/acceptance`
- [ ] relevant acceptance tests are passing
- [ ] using Go SDK
  • Loading branch information
alexott authored Jul 26, 2024
1 parent 0111483 commit 39f96b2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/guides/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,12 @@ provider "databricks" {
```
The above would enforce the use of PAT authorization.
### oauth-m2m: oidc: databricks OAuth is not supported for this host.
There could be different reasons for this error:
- Old version of Terraform provider is used - there were [problems reported](https://github.com/databricks/terraform-provider-databricks/issues/3023) with versions lower than 1.35.0, so try to upgrade your provider.
- You use multiple provider instances in your code and don't specify that specific instance in your resource or data source - in this case, Terraform will try to use "default instance" that could be initialized from the `DEFAULT` profile in your `~/.databrickscfg` file if you have it. Check that correct provider instance is used everywhere.
- If you're using authentication data from `~/.databrickscfg` file, check that profile you're using has correct data - URL, client ID and secret.

0 comments on commit 39f96b2

Please sign in to comment.