Unstructured-IO / Unstructured-IO/unstructured-python-client
bug/ Server Error when creating Confluence connector
未关闭
还没有人认领这个 Issue。
bug
- 主要语言
- Python
- 星标
- 119
- 派生
- 22
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 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 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用所示的最小 Confluence 配置重现 POST /api/v1/sources/ 请求,然后跟踪 Python 客户端中的 source 创建请求和验证路径。将该请求与链接的 Confluence 文档进行比较;当请求创建 connector 或返回明确的验证错误而不是 HTTP 500 时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, backend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100