awslogin icon indicating copy to clipboard operation
awslogin copied to clipboard

Invalid character error

Open sshi100 opened this issue 5 years ago • 5 comments

I hit an error when run after brew install:

Error: invalid character '<' looking for beginning of value
invalid character '<' looking for beginning of value

sshi100 avatar Sep 26 '20 21:09 sshi100

@sshi100 awslogin is required opstion --select-profile (-S) or $AWS_PROFILE environment value. Please use these.

youyo avatar Sep 28 '20 01:09 youyo

$ awslogin -S Search: █ Profiles

default piggycloud-me-devops1 eks-ro-user piggycloud-me-dev1

Error: invalid character '<' looking for beginning of value invalid character '<' looking for beginning of value

No matter which to select, I got the same error.

sshi100 avatar Sep 28 '20 05:09 sshi100

I have not been able to reproduce this error in my environment. Let me ask you a few questions.

Is it possible to run the aws command?

$ aws --profile piggycloud-me-devops1 s3 ls

youyo avatar Sep 28 '20 06:09 youyo

Let's see 'default' first, yes, it works

$ aws --profile default s3 ls 2020-09-25 10:50:01 app.piggycloud2-staging.me ... and more ...

sshi100 avatar Sep 28 '20 07:09 sshi100

Thanks!

Hmmm, I'll give it some thought.

youyo avatar Sep 28 '20 07:09 youyo