Our community is getting an upgrade on July 2nd! Learn more in the FAQs →
Forum Discussion
Anonymous
2 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
2 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