Mané Rom
06/22/2021, 4:01 PMPOST /v1/connections/reset
We are obtaining an error about the 'configId'
data: {
message: 'Could not find configuration for STANDARD_SYNC_OPERATION: [uuid]'
}
Where can I retrieve the proper id? We also receive a similar error on sync-connection query. Thanks in advance[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
73172745-f7e7-435d-bc7b-873fbf837782
. you need to get from your connection[DEPRECATED] Marcos Marx
/v1/connections/list
https://airbyte-public-api-docs.s3.us-east-2.amazonaws.com/rapidoc-api-docs.html#post-/v1/connections/list using the default workspaceId {"workspaceId":"5ae6b09b-fdec-41af-aaf7-7d94cfc33ef6"} to retrieve all connectionsMané Rom
06/22/2021, 4:39 PMconnections/list
ready, and we query it like this
const { data } = await <http://axios.post|axios.post>(airbyteUrls.resetConnection, {
connectionId
})
Mané Rom
06/22/2021, 9:19 PMPOST /v1/jobs/list
{
configTypes*: [enum]
configId*: string
}
[DEPRECATED] Marcos Marx
STANDARD_SYNC_OPERATION
this is a new field... was introducted for custom-dbt! I'll research about it.
@Mané Rom what version of Airbyte are you using?Mané Rom
06/22/2021, 10:31 PMMané Rom
06/22/2021, 10:31 PMMané Rom
06/22/2021, 10:32 PMMané Rom
06/22/2021, 11:18 PM[DEPRECATED] Marcos Marx
Mané Rom
06/23/2021, 11:24 AMERROR i.a.s.v.VersionMismatchServer(getServer):68 - {workspace_app_root=/tmp/workspace/server/logs} - Version mismatch between 0.26.2-alpha and 0.25.0-alpha.
Why it tells about versionMismatch, if they're 0.26.2 apparently?[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
Mané Rom
06/23/2021, 2:22 PM/source_definition_specifications/get
giving a sourceDefinitionId, it responses a 500 error data: { message: 'internal server error' }
Mané Rom
06/23/2021, 2:25 PMconfig: {
url: '<http://localhost:8000/api/v1/source_definition_specifications/get>',
method: 'post',
data: '{"sourceDefinitionId":"71607ba1-c0ac-4799-8049-7f4b90dd50f7"}',
headers: {
Accept: 'application/json, text/plain, */*',
'Content-Type': 'application/json;charset=utf-8',
'User-Agent': 'axios/0.21.1',
'Content-Length': 61
}
Mané Rom
06/23/2021, 2:26 PMresponse: {
status: 500,
statusText: 'Internal Server Error',
headers: {
server: 'nginx/1.19.10',
date: 'Wed, 23 Jun 2021 14:19:01 GMT',
'content-type': 'application/json',
'content-length': '35',
connection: 'close',
'access-control-allow-origin': '*',
'access-control-allow-headers': 'Origin, Content-Type, Accept, Content-Encoding',
'access-control-allow-methods': 'GET, POST, PUT, DELETE, OPTIONS, HEAD'
},
Mané Rom
06/23/2021, 2:29 PMERROR i.a.s.RequestLogger(filter):105 - {workspace_app_root=/tmp/workspace/server/logs} - REQ 172.22.0.4 POST 500 /api/v1/source_definition_specifications/get - {"sourceDefinitionId":"71607ba1-c0ac-4799-8049-7f4b90dd50f7"}
[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
curl -X POST "<http://localhost:8000/api/v1/source_definitions/get>" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"sourceDefinitionId":"71607ba1-c0ac-4799-8049-7f4b90dd50f7"}'
this will help us discovering where the problem isMané Rom
06/23/2021, 4:11 PMMané Rom
06/23/2021, 4:12 PM[DEPRECATED] Marcos Marx
Mané Rom
06/23/2021, 4:23 PMMané Rom
06/23/2021, 5:22 PMconfig: {
url: '<http://localhost:8000/api/v1/source_definition_specifications/get>',
method: 'post',
data: '{"sourceDefinitionId":"71607ba1-c0ac-4799-8049-7f4b90dd50f7"}',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
'User-Agent': 'axios/0.21.1',
'Content-Length': 61
},
[DEPRECATED] Marcos Marx
Mané Rom
06/23/2021, 5:26 PM[DEPRECATED] Marcos Marx
Mané Rom
06/23/2021, 5:29 PMMané Rom
06/23/2021, 5:30 PM[DEPRECATED] Marcos Marx
docker logs airbyte-server
to see if there anything there?[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
-H "Accept: application/json" \
-H "Content-Type: application/json" \
Mané Rom
06/23/2021, 5:35 PMconst { data } = await <http://axios.post|axios.post>(
airbyteUrls.sourceSpecification,
{
sourceDefinitionId
},
{
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
}
}
)
Mané Rom
06/23/2021, 5:35 PMMané Rom
06/23/2021, 5:36 PM2021-06-23 17:28:05 ERROR i.a.s.e.UncaughtExceptionMapper(toResponse):42 - {workspace_app_root=/tmp/workspace/server/logs} - Uncaught exception
2021-06-23 17:28:05 ERROR i.a.s.RequestLogger(filter):105 - {workspace_app_root=/tmp/workspace/server/logs} - REQ 172.20.0.3 POST 500 /api/v1/source_definition_specifications/get - {"sourceDefinitionId":"71607ba1-c0ac-4799-8049-7f4b90dd50f7"}
[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
Mané Rom
06/24/2021, 2:09 AM[DEPRECATED] Marcos Marx
Mané Rom
06/24/2021, 2:27 AMMané Rom
06/24/2021, 7:26 AM[DEPRECATED] Marcos Marx
Mané Rom
06/24/2021, 4:39 PMError: Request failed with status code 422
querying this data (2). Console shows this error message response (3)[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
Mané Rom
06/24/2021, 6:38 PMMané Rom
06/24/2021, 6:55 PM2021-06-24 18:52:53 ERROR i.a.s.a.JobScheduler(run):86 - {workspace_app_root=/tmp/workspace/scheduler/logs} - Job Scheduler Error
airbyte-scheduler | java.lang.RuntimeException: io.airbyte.config.persistence.ConfigNotFoundException: config type: STANDARD_SYNC_OPERATION id: f8c3e6cb-a15a-40e6-aea0-58cc7368b36a
airbyte-scheduler | at io.airbyte.scheduler.persistence.job_factory.DefaultSyncJobFactory.create(DefaultSyncJobFactory.java:85) ~[io.airbyte.airbyte-scheduler-persistence-0.26.3-alpha.jar:?]
airbyte-scheduler | at io.airbyte.scheduler.app.JobScheduler.scheduleSyncJobs(JobScheduler.java:98) ~[io.airbyte.airbyte-scheduler-app-0.26.3-alpha.jar:?]
airbyte-scheduler | at io.airbyte.scheduler.app.JobScheduler.run(JobScheduler.java:82) ~[io.airbyte.airbyte-scheduler-app-0.26.3-alpha.jar:?]
airbyte-scheduler | at io.airbyte.scheduler.app.SchedulerApp.lambda$start$0(SchedulerApp.java:145) ~[io.airbyte.airbyte-scheduler-app-0.26.3-alpha.jar:?]
airbyte-scheduler | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
airbyte-scheduler | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
airbyte-scheduler | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
airbyte-scheduler | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
airbyte-scheduler | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
airbyte-scheduler | at java.lang.Thread.run(Thread.java:832) [?:?]
airbyte-scheduler | Caused by: io.airbyte.config.persistence.ConfigNotFoundException: config type: STANDARD_SYNC_OPERATION id: f8c3e6cb-a15a-40e6-aea0-58cc7368b36a
airbyte-scheduler | at io.airbyte.config.persistence.DefaultConfigPersistence.getConfigInternal(DefaultConfigPersistence.java:87) ~[io.airbyte.airbyte-config-persistence-0.26.3-alpha.jar:?]
airbyte-scheduler | at io.airbyte.config.persistence.DefaultConfigPersistence.getConfig(DefaultConfigPersistence.java:64) ~[io.airbyte.airbyte-config-persistence-0.26.3-alpha.jar:?]
airbyte-scheduler | at io.airbyte.config.persistence.ConfigRepository.getStandardSyncOperation(ConfigRepository.java:195) ~[io.airbyte.airbyte-config-persistence-0.26.3-alpha.jar:?]
airbyte-scheduler | at io.airbyte.scheduler.persistence.job_factory.DefaultSyncJobFactory.create(DefaultSyncJobFactory.java:71) ~[io.airbyte.airbyte-scheduler-persistence-0.26.3-alpha.jar:?]
[DEPRECATED] Marcos Marx
docker exec -ti airbyte-scheduler bash
go into cd /data/config/STANDARD_SYNC_OPERATION
and execute ls
to list all files there?Mané Rom
06/24/2021, 7:00 PMMané Rom
06/24/2021, 7:07 PMMané Rom
06/24/2021, 8:22 PMoperationsIds: [uuid(*on-the-fly-from-hell)*]
, it works as before. Here I attach the create-connection flow. Thank you so much for your patience, here is a happy man for your action, thank you very much![DEPRECATED] Marcos Marx
Mané Rom
06/24/2021, 8:23 PM[DEPRECATED] Marcos Marx
Mané Rom
06/24/2021, 8:25 PMMané Rom
06/24/2021, 8:29 PMMané Rom
06/24/2021, 8:35 PM[DEPRECATED] Marcos Marx
[DEPRECATED] Marcos Marx
Mané Rom
06/25/2021, 5:25 AM