Unstructured-IO / Unstructured-IO/unstructured-python-client
bug/ Server Error when creating Confluence connector
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 119
- Forks
- 22
- Ø Merge
- 1 T. 21 Std.
- Gemergte PRs (30 T.)
- 1
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduziere die Anfrage POST /api/v1/sources/ mit der gezeigten minimalen Confluence-Konfiguration und verfolge dann den Pfad der Anfrage zur Quellenerstellung und Validierung im Python-Client. Vergleiche die Anfrage mit der verlinkten Confluence-Dokumentation; abgeschlossen ist die Aufgabe, wenn die Anfrage entweder den Connector erstellt oder einen eindeutigen Validierungsfehler anstelle von HTTP 500 zurückgibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, backend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100