Unstructured-IO / Unstructured-IO/unstructured-python-client
bug/ Server Error when creating Confluence connector
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 119
- Fork
- 22
- Merge trung bình
- 1 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 1
Mô tả
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.
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện request POST /api/v1/sources/ với cấu hình Confluence tối thiểu được hiển thị, sau đó lần theo đường đi của request tạo source và validation trong Python client. So sánh request với tài liệu Confluence được liên kết; được xem là hoàn thành khi request либо tạo connector hoặc trả về lỗi validation rõ ràng thay vì HTTP 500.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- api, backend
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100