Unstructured-IO / Unstructured-IO/unstructured-python-client
bug/ Server Error when creating Confluence connector
オープン
まだ誰も着手していません。
bug
- 主要言語
- Python
- スター
- 119
- フォーク
- 22
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 1
説明
Describe the bug
When attempting to create a Confluence 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-confluence-connector type=confluence config:='{"url":"https://foo.atlassian.com", "username":"foo", "password":"foo"}'
POST /api/v1/sources/ HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 145
Content-Type: application/json
Host: platform.unstructuredapp.io
User-Agent: HTTPie/3.2.4
unstructured-api-key: ****
{
"config": {
"password": "foo",
"url": "https://foo.atlassian.com",
"username": "foo"
},
"name": "test-confluence-connector",
"type": "confluence"
}
HTTP/1.1 500 Internal Server Error
content-length: 21
content-type: text/plain; charset=utf-8
date: Wed, 20 Aug 2025 20:59:20 GMT
server: istio-envoy
x-envoy-upstream-service-time: 277
Internal Server Error
Expected behavior
Either a validation error message or a successfully created connector.
Additional context
Documentation for the Confluence connector seems to indicate that the above request should be valid.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
示されている最小限の Confluence 設定で POST /api/v1/sources/ リクエストを再現し、その後、Python クライアント内で source の作成リクエストと検証のパスを追跡します。リクエストをリンク先の Confluence ドキュメントと比較します。完了条件は、リクエストによって connector が作成されるか、HTTP 500 ではなく明確な検証エラーが返されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100