Justin Yang
06/12/2025, 2:31 PMAWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
are set as environment variables yet I still get:
[warning ] Unable to persist state, or received state is invalid, incremental state has not been updated
the state that I have does seem strange in that it is just empty curly braces:
[info ] Emitting completed target state {"bookmarks": {"public-settlements_fee": {}, ...
For reference I have the setup of tap-postgres
and target-redshift
. Any ideas on how to triage this?Miroslav Nedyalkov
06/19/2025, 5:45 AMMELTANO_STATE_BACKEND_URI
to tell it where to store the state, right? Also, are you certain the user you use has the required access to store files to the bucket?
If none of these helps, I found very useful the --log-level=debug
option for the meltano
CLI:
meltano --log-level=debug ...
Justin Yang
06/19/2025, 10:15 AMexport MELTANO_CLI_LOG_LEVEL=debug
and getting the logs as well. It turned out to be an S3 permissions issue at one point and not installing the right meltano package. For S3 state you need meltano[s3]
. I didn’t realize it was a separate package to installMiroslav Nedyalkov
06/19/2025, 1:38 PM