https://linen.dev logo
c

Chris (deprecated profile)

11/06/2020, 4:44 PM
Not sure if it's on the Front-end or backend but on master branch if i try to use the Source connector for Files, i get exceptions thrown because the value is not in the ENUM but it is selected from the UI (one of the value of the enum)...
u

user

11/06/2020, 7:16 PM
what is the JSON being input from the UI?
u

user

11/06/2020, 7:17 PM
Maybe @Artem Astapenko would be able to answer? It's a combobox i cant type in it
u

user

11/06/2020, 7:17 PM
can you see the input in the logs?
u

user

11/06/2020, 7:17 PM
server logs
u

user

11/06/2020, 7:44 PM
No not much more infos
u

user

11/06/2020, 8:09 PM
Hm, I have the same error. Looks like problem is on backend side.
u

user

11/06/2020, 8:11 PM
Those look like perfectly fine choices! it should be accepted on the backend and passed to the integration...
u

user

11/06/2020, 8:12 PM
Copy code
airbyte-server | object:
airbyte-server | {
airbyte-server |   "reader_options" : "{}",
airbyte-server |   "storage" : "HTTPS",
airbyte-server |   "format" : "csv",
airbyte-server |   "url" : "<https://people.sc.fsu.edu/~jburkardt/data/csv/addresses.csv>"
airbyte-server | }
airbyte-server | 	at io.airbyte.server.apis.ConfigurationApi.execute(ConfigurationApi.java:357) ~[io.airbyte-airbyte-server-0.2.1-alpha.jar:?]
airbyte-server | 	at io.airbyte.server.apis.ConfigurationApi.webBackendCreateSource(ConfigurationApi.java:151) ~[io.airbyte-airbyte-server-0.2.1-alpha.jar:?]
airbyte-server | 	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
airbyte-server | 	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
airbyte-server | 	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
airbyte-server | 	at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
Copy code
object:
airbyte-server | {
airbyte-server |   "reader_options" : "{}",
airbyte-server |   "storage" : "HTTPS",
airbyte-server |   "format" : "csv",
airbyte-server |   "url" : "<https://people.sc.fsu.edu/~jburkardt/data/csv/addresses.csv>"
airbyte-server | }
airbyte-server | 	at io.airbyte.validation.json.JsonSchemaValidator.ensure(JsonSchemaValidator.java:68) ~[io.airbyte-airbyte-json-validation-0.2.1-alpha.jar:?]
airbyte-server | 	at io.airbyte.server.handlers.SourceHandler.validateSource(SourceHandler.java:194) ~[io.airbyte-airbyte-server-0.2.1-alpha.jar:?]
airbyte-server | 	at io.airbyte.server.handlers.SourceHandler.createSource(SourceHandler.java:81) ~[io.airbyte-airbyte-server-0.2.1-alpha.jar:?]
airbyte-server | 	at io.airbyte.server.handlers.WebBackendSourceHandler.webBackendCreateSourceAndCheck(WebBackendSourceHandler.java:60) ~[io.airbyte-airbyte-server-0.2.1-alpha.jar:?]
airbyte-server | 	at io.airbyte.server.apis.ConfigurationApi.lambda$webBackendCreateSource$4(ConfigurationApi.java:151) ~[io.airbyte-airbyte-server-0.2.1-alpha.jar:?]
airbyte-server | 	at io.airbyte.server.apis.ConfigurationApi.execute(ConfigurationApi.java:349) ~[io.airbyte-airbyte-server-0.2.1-alpha.jar:?]
airbyte-server | 	... 53 more
airbyte-server | Nov 06, 2020 8:10:15 PM org.glassfish.jersey.logging.LoggingInterceptor log
u

user

11/06/2020, 8:13 PM
Sherif, if you need some extra logs or info - just ping me, though I suppose everything I could provide - I provided.
u

user

11/06/2020, 8:37 PM
taking a look
3 Views