devon_seitz
06/14/2022, 7:40 PMmeltano schedule add staging2 --extractor tap-postgres--staging2 --loader target-snowflake--staging2 --interval="0 * * * *"
Via command lines meltano job
meltano job add tap-postgres--staging2-to-target-snowflake--staging2 --tasks "[tap-postgres--staging2 target-snowflake--staging2]"
meltano schedule add daily-schedule-tap-postgres--staging2-to-target-snowflake--staging2 --job tap-postgres--staging2-to-target-snowflake--staging2 --interval '@hourly'
And via the UI (screenshot 1)
When then starting up the ui, i am getting an error with the output
AttributeError: 'dict' object has no attribute 'job'devon_seitz
06/14/2022, 7:50 PMmeltano schedule list --format=json which is
{
"schedules": {
"job": [],
"elt": [
{
"name": "staging2",
"extractor": "tap-postgres--staging2",
"loader": "target-snowflake--staging2",
"transform": "skip",
"interval": "@hourly",
"start_date": "2022-06-14",
"env": {},
"cron_interval": "0 * * * *",
"last_successful_run_ended_at": null,
"elt_args": [
"tap-postgres--staging2",
"target-snowflake--staging2",
"--transform=skip",
"--state-id=staging2"
]
}
]
}
}TomasB
06/14/2022, 8:54 PMdevon_seitz
06/14/2022, 9:11 PMTomasB
06/14/2022, 9:12 PMTomasB
06/14/2022, 9:13 PMaaronsteers
06/15/2022, 3:25 AMaaronsteers
06/15/2022, 3:25 AMaaronsteers
06/15/2022, 3:26 AMdevon_seitz
06/15/2022, 1:43 PMTomasB
06/15/2022, 2:07 PM2022-06-15T14:04:31.879525Z [error ] Exception on /api/v1/orchestrations/jobs/state [POST]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 2447, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1952, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/site-packages/flask_restful/__init__.py", line 271, in error_router
return original_handler(e)
File "/usr/local/lib/python3.8/site-packages/flask_restful/__init__.py", line 271, in error_router
return original_handler(e)
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1821, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.8/site-packages/flask/_compat.py", line 39, in reraise
raise value
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/usr/local/lib/python3.8/site-packages/meltano/api/controllers/orchestrations.py", line 207, in job_state
state_ids = poll_payload["state_ids"]
KeyError: 'state_ids'
2022-06-15T14:04:31.879843Z [info ] Error: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.devon_seitz
06/15/2022, 2:43 PMdevon_seitz
06/15/2022, 4:20 PMKeyError: 'state_ids' when attempting to run the pipelineedgar_ramirez_mondragon
06/15/2022, 4:20 PMflorian.hines
06/15/2022, 4:20 PMflorian.hines
06/15/2022, 4:28 PMdevon_seitz
06/15/2022, 4:29 PMflorian.hines
06/15/2022, 4:31 PMflorian.hines
06/15/2022, 4:49 PM