dbt-labs / dbt-labs/dbt-cloud-openapi-spec

Rest API v2 throws an exception for '/environments' request with connection type 'Databricks'

Open
#48 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
12
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hey, everybody.
I have an environment with connection type 'Databricks'. When I try to get a list of my environments via Rest API v2 (administrative) I get the following error:
`{
"status": {
"code": 400,
"is_success": false,
"user_message": "The request was invalid. Please double check the provided data and try again.",
"developer_message": ""
},
"data": {
"_model": "EnvironmentV2",
"connection": "not a valid value"
}
}`

The same request using the Rest API v3 endpoint all works ok.
Please, let me know its ok.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.