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

bug/ Server Error when creating Snowflake connector

Offen
#310 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug
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 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne beim POST /api/v1/sources/ Endpoint und reproduziere die Snowflake-Anfrage anhand der dokumentierten Mindestkonfiguration. Prüfe den Pfad zur Erstellung des Snowflake-Connectors und bestätige, dass die Anfrage entweder den Connector erstellt oder statt HTTP 500 einen Validierungsfehler zurückgibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
api
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.