Skip to content

Resolve Debug Level Error from config list command #55

@acstott

Description

@acstott

When running apppack -a account --debug config list an error is thrown, indicating the security token from the request is invalid, however the command executes as intended. Removing debug statement suppresses the error and the command executes normally.

With --debug option:

./main.exe -a ll-staging --debug config list
time="2024-01-30T15:20:25-05:00" level=debug msg="reading from user cache" filename="C:\\Users\\cole0\\AppData\\Local\\io.apppack\\tokens"
⠋time="2024-01-30T15:20:25-05:00" level=debug msg="token has not expired" expiration_date="2024-01-30 21:07:41 -0500 EST"
time="2024-01-30T15:20:25-05:00" level=debug msg="fetching app list" url="https://api.apppack.io/apps"
⠇time="2024-01-30T15:20:25-05:00" level=debug msg="reading from user cache" filename="C:\\Users\\cole0\\AppData\\Local\\io.apppack\\user"
time="2024-01-30T15:20:25-05:00" level=debug msg="assuming role" role="arn:aws:iam::135549385118:role/apppack/apppack-app-ll-staging-WebOperatorRole-16TFYLMHGN6ZL"
✖ InvalidIdentityToken: Couldn't retrieve verification key from your identity provider,  please reference AssumeRoleWithWebIdentity documentation for requirements
        status code: 400, request id: e340240d-d87b-4243-a483-19d9394247c4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions