Unstructured-IO / Unstructured-IO/unstructured-python-client
bug/ Server Error when creating Snowflake connector
オープン
まだ誰も着手していません。
bug
- 主要言語
- Python
- スター
- 119
- フォーク
- 22
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 1
説明
Describe the bug
When attempting to create a Snowflake source connector with minimum viable configuration, the server returns a 500 status.
To Reproduce
With HTTPie:
$ http -jv POST https://platform.unstructuredapp.io/api/v1/sources/ unstructured-api-key:$UNSTRUCTURED_API_KEY name=test-snowflake-connector type=snowflake config:='{"account":"foo", "role":"foo", "user":"foo", "password":"foo", "host":"foo.snowflakecomputing.com", "database":"foo", "table_name":"foo", "id_column":"foo"}'
POST /api/v1/sources/ HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 234
Content-Type: application/json
Host: platform.unstructuredapp.io
User-Agent: HTTPie/3.2.4
unstructured-api-key: ****
{
"config": {
"account": "foo",
"database": "foo",
"host": "foo.snowflakecomputing.com",
"id_column": "foo",
"password": "foo",
"role": "foo",
"table_name": "foo",
"user": "foo"
},
"name": "test-snowflake-connector",
"type": "snowflake"
}
HTTP/1.1 500 Internal Server Error
content-length: 21
content-type: text/plain; charset=utf-8
date: Thu, 21 Aug 2025 13:33:59 GMT
server: istio-envoy
x-envoy-upstream-service-time: 104
Internal Server Error
Expected behavior
Either a validation error message or a successfully created connector.
Additional context
Documentation for the Snowflake connector seems to indicate that the above request should be valid.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
POST /api/v1/sources/ エンドポイントから開始し、文書化されている最小構成を使って Snowflake リクエストを再現します。Snowflake コネクターの作成パスを確認し、リクエストによってコネクターが作成されるか、HTTP 500 ではなくバリデーションエラーが返されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100