Skip to content

Commit d92d4e2

Browse files
Update NameToDefinitionMapper.kt
Today the [docs](https://reference.airbyte.com/reference/createsource) say that `source-airtype` requires a `sourceType` of `airbyte` in the configuration body. Submitting this results in a `400` error `value-not-found`.
1 parent bc2e734 commit d92d4e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

airbyte-server/src/main/kotlin/io/airbyte/server/apis/publicapi/mappers/NameToDefinitionMapper.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ val SOURCE_NAME_TO_DEFINITION_ID: Map<String, UUID> =
325325
Pair("callrail", UUID.fromString("dc98a6ad-2dd1-47b6-9529-2ec35820f9c6")),
326326
Pair("courier", UUID.fromString("0541b2cd-2367-4986-b5f1-b79ff55439e4")),
327327
Pair("airbyte-harness-source", UUID.fromString("6fe89830-d04d-401b-aad6-6552ffa5c4af")),
328+
Pair("airbyte", UUID.fromString("284f6466-3004-4d83-a9b2-e4b36cbbbd41")),
328329
Pair("zapier-supported-storage", UUID.fromString("b8c917bc-7d1b-4828-995f-6726820266d0")),
329330
Pair("kafka", UUID.fromString("d917a47b-8537-4d0d-8c10-36a9928d4265")),
330331
Pair("pendo", UUID.fromString("b1ccb590-e84f-46c0-83a0-2048ccfffdae")),
@@ -619,6 +620,7 @@ val DEFINITION_ID_TO_SOURCE_NAME: Map<UUID, String> =
619620
Pair(UUID.fromString("dc98a6ad-2dd1-47b6-9529-2ec35820f9c6"), "callrail"),
620621
Pair(UUID.fromString("0541b2cd-2367-4986-b5f1-b79ff55439e4"), "courier"),
621622
Pair(UUID.fromString("6fe89830-d04d-401b-aad6-6552ffa5c4af"), "airbyte-harness-source"),
623+
Pair(UUID.fromString("284f6466-3004-4d83-a9b2-e4b36cbbbd41"), "airbyte"),
622624
Pair(UUID.fromString("b8c917bc-7d1b-4828-995f-6726820266d0"), "zapier-supported-storage"),
623625
Pair(UUID.fromString("d917a47b-8537-4d0d-8c10-36a9928d4265"), "kafka"),
624626
Pair(UUID.fromString("b1ccb590-e84f-46c0-83a0-2048ccfffdae"), "pendo"),

0 commit comments

Comments
 (0)