Unstructured-IO / Unstructured-IO/unstructured-python-client

bug/ Server Error when creating Confluence connector

Open
#309 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
119
Forks
22
Avg merge
1d 21h
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the POST /api/v1/sources/ request with the minimum Confluence configuration shown, then trace the source-creation request and validation path in the Python client. Compare the request with the linked Confluence documentation; done means the request either creates the connector or returns a clear validation error instead of HTTP 500.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.