Skip to content

In failed_executions_retry fix the error where JQ is failing during processing. #1

@cfblack

Description

@cfblack

When I run ./retry-failed-step-functions.sh --date 2025-11-13 --region us-east-1 --account-id 469225647823 --profile cpe_admin-cpe --state-machine individualSectionSM --verbose

I get this output with a jq error. I know there are several failed executions to restart so "No executions were restarted" is not what I expect. Also, this is a problem: jq: parse error: Invalid numeric literal at line 1, column 2
[INFO] Step Functions Execution Retry Script
[INFO] ======================================
[INFO] Date: 2025-11-13
[INFO] Region: us-east-1
[INFO] Account ID: 469225647823
[INFO] Profile: cpe_admin-cpe
[INFO] State Machine: individualSectionSM
[INFO] Target State: PatchDrupalSection
[INFO]
[DEBUG] Date format validated: 2025-11-13
[INFO] Testing AWS credentials with profile: cpe_admin-cpe
[SUCCESS] AWS credentials validated
[DEBUG] Resolved state machine ARN: arn:aws:states:us-east-1:469225647823:stateMachine:individualSectionSM
jq: parse error: Invalid numeric literal at line 1, column 2
[INFO]
[INFO] ====== Summary ======
[INFO] Total failed executions found: 0
[INFO] Executions restarted: 0
[INFO]
[WARN] No executions were restarted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions