Łukasz Aszyk
02/02/2023, 6:08 PM<http://localhost:8000/api/v1/sources/create>
endpoint. I know I need to pass credentials to the source, namely GSheet, but can’t find a way to find the requested fields for the API call body. Does anyone know where to find the formatted JSON to easily pass the variables to? Appreciate all help 🙂 I got this response:
"exceptionStack": [
"io.airbyte.server.errors.BadObjectSchemaKnownException: The provided configuration does not fulfill the specification. Errors: json schema validation failed when comparing the data to the json schema. ",
"Errors: $.spreadsheet_id: is missing but it is required, $.credentials: is missing but it is required ",
"Schema: ",
"{",
" \"type\" : \"object\",",
" \"title\" : \"Stripe Source Spec\",",
" \"$schema\" : \"<http://json-schema.org/draft-07/schema#>\",",
" \"required\" : [ \"spreadsheet_id\", \"credentials\" ],",
" \"properties\" : {",
" \"credentials\" : {",
" \"type\" : \"object\",",
" \"oneOf\" : [ {",
" \"type\" : \"object\",",
" \"title\" : \"Authenticate via Google (OAuth)\",",
" \"required\" : [ \"auth_type\", \"client_id\", \"client_secret\", \"refresh_token\" ],",
" \"properties\" : {",
" \"auth_type\" : {",
" \"type\" : \"string\",",
" \"const\" : \"Client\"",
" },",
" \"client_id\" : {",
" \"type\" : \"string\",",
" \"title\" : \"Client ID\",",
" \"description\" : \"Enter your Google application's Client ID\",",
" \"airbyte_secret\" : true",
" },",
" \"client_secret\" : {",
" \"type\" : \"string\",",
" \"title\" : \"Client Secret\",",
" \"description\" : \"Enter your Google application's Client Secret\",",
" \"airbyte_secret\" : true",
" },",
" \"refresh_token\" : {",
" \"type\" : \"string\",",
" \"title\" : \"Refresh Token\",",
" \"description\" : \"Enter your Google application's refresh token\",",
" \"airbyte_secret\" : true",
" }",
" }",
" }, {",
" \"type\" : \"object\",",
" \"title\" : \"Service Account Key Authentication\",",
" \"required\" : [ \"auth_type\", \"service_account_info\" ],",
" \"properties\" : {",
" \"auth_type\" : {",
" \"type\" : \"string\",",
" \"const\" : \"Service\"",
" },",
" \"service_account_info\" : {",
" \"type\" : \"string\",",
" \"title\" : \"Service Account Information.\",",
" \"examples\" : [ \"{ \\\"type\\\": \\\"service_account\\\", \\\"project_id\\\": YOUR_PROJECT_ID, \\\"private_key_id\\\": YOUR_PRIVATE_KEY, ... }\" ],",
" \"description\" : \"Enter your Google Cloud <a href=\\\"<https://cloud.google.com/iam/docs/creating-managing-service-account-keys#creating_service_account_keys>\\\">service account key</a> in JSON format\",",
" \"airbyte_secret\" : true",
" }",
" }",
" } ],",
" \"title\" : \"Authentication\",",
" \"description\" : \"Credentials for connecting to the Google Sheets API\"",
" },",
" \"row_batch_size\" : {",
" \"type\" : \"integer\",",
" \"title\" : \"Row Batch Size\",",
" \"default\" : 200,",
" \"description\" : \"Number of rows fetched when making a Google Sheet API call. Defaults to 200.\"",
" },",
" \"spreadsheet_id\" : {",
" \"type\" : \"string\",",
" \"title\" : \"Spreadsheet Link\",",
" \"examples\" : [ \"<https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG-arw2xy4HR3D-dwUb/edit>\" ],",
" \"description\" : \"Enter the link to the Google spreadsheet you want to sync\"",
" }",
" },",
" \"additionalProperties\" : true",
Adrian Bakula
02/02/2023, 6:09 PM0.4.46
(these changes). Specifically with this:
FULL_REFRESH will see partial data if fails part way through, this is being addressed in phase 2 with a table in destination that tracks when a sync starts and ends
1. How can we tell on our side whether a full refresh was successful or not? We can have downstream dependencies that read from the raw data tables, but without checking via airbyte API whether the sync was successful for the connection that carries that table, there's no way for us to be sure. In cases where you have an orchestration tool this is fine, but there are cases where you read table contents without orchestration.
2. Relatedly, if we have tables of the form Full Refresh | Append
, are we just going to have bad data in our raw tables forever? I suppose this is fine, but it puts deduplication burden on our end to make sure we aren't ingesting the same data twice because we had a one time failure.
3. I found the communication on this to be poor. The changelog on the connector website here just says
0.4.46 2023-01-26 #20631 Added support for destination checkpointing with staging
even though potential breaking changes were identified in the pull request and explicitly mentioned. This can have huge user impact and should be communicated explicitly. I happened to find it since I was digging through your blog post about release notes, but that shouldn't be where I find out about this kind of thing.
Thanks all 😄Sharath Chandra
02/02/2023, 6:11 PMŁukasz Aszyk
02/02/2023, 6:22 PM<http://localhost:8000/api/v1/sources/create>
endpoint?Lenin Mishra
02/02/2023, 6:53 PM2023-02-02 18:48:43 ERROR c.n.s.JsonSchemaFactory(getSchema):395 - Failed to load json schema!
Lenin Mishra
02/02/2023, 6:54 PMYeshwanth LN
02/02/2023, 7:06 PMthe logs on the K8's Cluster :
java.lang.IllegalStateException: Get Spec job failed. at com.google.common.base.Preconditions.checkState(Preconditions.java:502) ~[guava-31.0.1-jre.jar:?] at io.airbyte.server.converters.SpecFetcher.getSpecFromJob(SpecFetcher.java:14) ~[io.airbyte-airbyte-server-0.39.42-alpha.jar:?] at io.airbyte.server.handlers.SourceDefinitionsHandler.getSpecForImage(SourceDefinitionsHandler.java:292) ~[io.airbyte-airbyte-server-0.39.42-alpha.jar:?] at..................
The complete issue is written here : https://github.com/airbytehq/airbyte/issues/22336
Can anyone suggest how to fix this?Domenic
02/02/2023, 8:18 PMIncremental - Append
sync for a table. I am doing some testing and it is not acknowledge the new entered row on the table. Under Cursor field
I selected the unique field from the table thinking that it would use this field to register changes. Unfortunately, this didnt work and I am not sure how to make this happen. I also noticed that I cannot select the Primary Key
field - this is disabled for Incremental - Append
sync mode. What am I doing wrong? How can I get the connector to acknowledge the added row record. Ultimately, I am trying to use this for CDCMichael Yee
02/02/2023, 8:57 PM2023-02-02 06:51:40 [32mINFO[m i.a.w.g.DefaultReplicationWorker(getReplicationOutput):495 - failures: [ {
"failureOrigin" : "destination",
"failureType" : "system_error",
"internalMessage" : "tech.allegro.schema.json2avro.converter.AvroConversionException: Failed to convert JSON to Avro: Could not evaluate union, field p_count is expected to be one of these: NULL, INT. If this is a complex type, check if offending field (path: p_count) adheres to schema: 2840014740",
"externalMessage" : "Something went wrong in the connector. See the logs for more details.",
"metadata" : {
"attemptNumber" : 2,
"jobId" : 65,
"from_trace_message" : true,
"connector_command" : "write"
},
p_count data type is int(10) unsigned, so 2840014740 is less than its max value of 4294967295... I am thinking that the connector is changing to a int which the max value is 2147483647Annika Maybin
02/02/2023, 9:22 PMUria Franko
02/02/2023, 10:25 PMRyan Watts
02/02/2023, 11:14 PMSlackbot
02/03/2023, 3:44 AMDominik Mall
02/03/2023, 3:49 AM+ temporal-sql-tool --plugin postgres --ep redacted-ip -u redacted-username -p 5432 create --db temporal
2023-02-02T13:20:51.392Z ERROR Unable to create SQL database. {"error": "unable to connect to DB, tried default DB names: postgres,defaultdb, errors: [pq: password authentication failed for user \"redacted-username\" pq: password authentication failed for user \"redacted-username\"]", "logging-call-at": "handler.go:97"}
Semi-related: is there somewhere I can see which helm chart version is associated with which application version?Aditya Raval
02/03/2023, 5:56 AMGowrav Tata
02/03/2023, 6:40 AM김건희
02/03/2023, 7:25 AMOliver Meyer
02/03/2023, 9:26 AMOuss
02/03/2023, 10:17 AMnon-json response
error while establishing connection with Shopify.
It seems the problem should have been fixed in the 0.40.26 version: I am seeing the same error on the console as reported by @Myroslav Tkachenko here https://airbytehq.slack.com/archives/C021JANJ6TY/p1671053701798289Joey Taleño
02/03/2023, 10:26 AMJoviano Cicero Costa Junior
02/03/2023, 1:11 PMMauro Veneziano
02/03/2023, 1:13 PMUria Franko
02/03/2023, 2:27 PMChristo Olivier
02/03/2023, 2:56 PM{
"error": {
"message": "Unsupported request - method type: get",
"type": "GraphMethodException",
"code": 100,
"fbtrace_id": "AwHuSPxbkEDa9B4cpSU1wAR"
}
}
Has anyone run into this before? I see people on online mentioning that a potential fix is getting Business Approval on Facebook for your business and app.
We are using the latest version of Airbyte Open Source.Leon Graf
02/03/2023, 3:22 PMEncountered an error:
Database Error
('HYT00', '[HYT00] [unixODBC][Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)'),retryable=<null>,timestamp=1675434737625], io.airbyte.config.FailureReason@64441cbe[failureOrigin=normalization,failureType=system_error,internalMessage=('HYT00', '[HYT00] [unixODBC][Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)'),externalMessage=Normalization failed during the dbt run. This may indicate a problem with the data itself.,metadata=io.airbyte.config.Metadata@1ebd324a[additionalProperties={attemptNumber=2, jobId=923, from_trace_message=true}],stacktrace=AirbyteDbtError:
Encountered an error:
Database Error
('HYT00', '[HYT00] [unixODBC][Microsoft][ODBC Driver 17 for SQL Server]Login timeout expired (0) (SQLDriverConnect)'),retryable=<null>,timestamp=1675434737625]]]
We are running Airbyte Version 0.40.18 on our own Ubuntu Server: 22.04.1, with the Version 0.4.28 for the SQL Source Connector and 0.1.22 for the mssql destination. Any Ideas what could be the problem and how to fix it?Akash Ghadge
02/03/2023, 3:25 PMAkash Ghadge
02/03/2023, 3:30 PMpython main.py read --config secrets/config.json --catalog sample_files/configured_catalog.json
I am getting an data from the API but at the end of the response I am getting failure_type: system_error
, I have attached the screenshot for the same
If anyone have any idea regarding to this please let me know, I am happy to try.
Thank youRocky Appiah
02/03/2023, 4:11 PMFailed to fetch schema. Please try again .. Error: non-json response
in the UI
Error in logs:
airbyte-server | Feb 03, 2023 4:10:14 PM org.glassfish.jersey.server.ServerRuntime$Responder writeResponse
airbyte-server | SEVERE: An I/O error has occurred while writing a response message entity to the container output stream.
airbyte-server | org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException
airbyte-server | at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:67)
airbyte-server | at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:139)
airbyte-server | at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1116)
airbyte-server | at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:638)
airbyte-server | at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:371)
airbyte-server | at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:361)
airbyte-server | at org.glassfish.jersey.server.ServerRuntime$1.run(ServerRuntime.java:256)
Running
• Airbyte 0.40.26
• Postgres 1.0.42Chris
02/03/2023, 4:19 PMFailure Origin: destination, Message: The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method. (Service: Amazon S3; Status Code: 403; Error Code: SignatureDoesNotMatch; Request ID: null; S3 Extended Request ID: null; Proxy: null)
I am using Google so why are they talking about Amazon S3?Kevin Noguera
02/03/2023, 4:25 PM