Rômulo Franca
09/09/2025, 6:34 PMError: failure to invoke API
│
│ with airbyte_destination_databricks.databricks,
│ on main.tf line 1, in resource "airbyte_destination_databricks" "databricks":
│ 1: resource "airbyte_destination_databricks" "databricks" {
│
│ failed to get token: unexpected status code: 405: <html>
│ <head><title>405 Not Allowed</title></head>
│ <body>
│ <center><h1>405 Not Allowed</h1></center>
│ <hr><center>nginx/1.27.3</center>
│ </body>
│ </html>kapa.ai
09/09/2025, 6:34 PMterraform { required_providers { airbyte = { source = "airbytehq/airbyte" version = "0.6.5" } } } provider "airbyte" { client_id = var.client_id client_secret = var.client_secret # For local/self-managed, include your webapp base + /api/public/v1/ server_url = "http://localhost:8000/api/public/v1/" } [[Step 1 setup](https://docs.airbyte.com/platform/next/terraform-documentation#step-1-set-up-the-terraform-provider)] - Ensure your Application exists and credentials are valid (Settings → Applications), and that your environment can reach the endpoint. [[API access](https://docs.airbyte.com/platform/using-airbyte/configuring-api-access)] - If you’re on Airbyte Enterprise, note tokens are short-lived; the provider handles refreshing when client credentials are set. [[API access](https://docs.airbyte.com/platform/1.7/enterprise-setup/api-access-config)] Once auth succeeds, configure the Databricks destination per docs (Unity Catalog required; OAuth supported on AWS, use access token on GCP). [[Databricks destination](https://docs.airbyte.com/integrations/destinations/databricks)] If after pointing server_url to /api/public/v1/ you still get 405, the knowledge sources don’t provide additional troubleshooting steps specific to this error. In that case, please share your provider block (redact secrets) and whether you are using Cloud or Self-Managed so we can pinpoint the URL/method mismatch.Rômulo Franca
09/09/2025, 6:46 PMkapa.ai
09/09/2025, 6:46 PMkapa.ai
09/09/2025, 6:46 PM