Skip to content

bug/ Server Error when creating Snowflake connector #310

@aws-gopher

Description

@aws-gopher

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions