Unstructured-IO / Unstructured-IO/unstructured-python-client
bug/ Server Error when creating Snowflake connector
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 119
- Forks
- 22
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 1
Description
Describe the bug
When attempting to create a Snowflake 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-snowflake-connector type=snowflake config:='{"account":"foo", "role":"foo", "user":"foo", "password":"foo", "host":"foo.snowflakecomputing.com", "database":"foo", "table_name":"foo", "id_column":"foo"}'
POST /api/v1/sources/ HTTP/1.1
Accept: application/json, */*;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Length: 234
Content-Type: application/json
Host: platform.unstructuredapp.io
User-Agent: HTTPie/3.2.4
unstructured-api-key: ****
{
"config": {
"account": "foo",
"database": "foo",
"host": "foo.snowflakecomputing.com",
"id_column": "foo",
"password": "foo",
"role": "foo",
"table_name": "foo",
"user": "foo"
},
"name": "test-snowflake-connector",
"type": "snowflake"
}
HTTP/1.1 500 Internal Server Error
content-length: 21
content-type: text/plain; charset=utf-8
date: Thu, 21 Aug 2025 13:33:59 GMT
server: istio-envoy
x-envoy-upstream-service-time: 104
Internal Server Error
Expected behavior
Either a validation error message or a successfully created connector.
Additional context
Documentation for the Snowflake connector seems to indicate that the above request should be valid.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the POST /api/v1/sources/ endpoint and reproduce the Snowflake request using the documented minimum configuration. Check the Snowflake connector creation path and confirm that the request either creates the connector or returns a validation error instead of HTTP 500.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100