Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agofailed to DecodeSACCredentials: unexpected end of JSON input
A few days ago, my op commands started returning the following error:
failed to DecodeSACCredentials: unexpected end of JSON input
The only op command that currently works without issue i...
michael_c_1P
1Password Team
3 years agoHi,
Do you happen to have the OP_SERVICE_ACCOUNT_TOKEN
environment variable set? This error indicates that the CLI is attempting to decode the service account JWT but is failing because it is incomplete or malformed. You could try updating the OP_SERVICE_ACCOUNT_TOKEN
to a valid token, or just unsetting the environment variable and using op signin
again.
Let me know if that works.
Thanks,
Mike