Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Anonymous
4 years agoCLI stopped working: "unexpected end of JSON input"
I'm using op v1.12.3 on a Mac running Big Sur 11.6. This was working fine until yesterday, but now (without me changing anything), every time I run an op command (e.g., op item get, op list items, even op signout), I see the following output:
[ERROR] 2022/01/17 07:24:22 unexpected end of JSON input
This has very much impacted my CLI workflow (mutt, mbsync, msmtp)... help!
1Password Version: 7.9.2
Extension Version: Not Provided
OS Version: macOS 11.6
8 Replies
- Anonymous
Happy to hear, folks!
- Anonymous
Ah thanks! I didn't realize there was a status page, so I subscribed for updates for the future.
- Anonymous
Seems to be resolved. Thanks for the update!
- Anonymous
Hi folks,
I believe this was due to an outage of the 1Password service. We believe we are mostly out of the woods at this point, but please report if signing in continues to fail.
We also have a status page at https://1password.statuspage.io/
- Anonymous
I am also getting this error suddenly too.
- Anonymous
Additional info:
Any command that does a network request (I tried to do
op vault ls) fails with the same error. Commands that don't make a network request do not fail (such as the command you suggested above). - Anonymous
I am now getting this as well.
I am on version 2.1.0. I did
op signinand it prompted me for touchID which I did. Then, it errored:[ERROR] 2022/04/27 11:54:23 failed to request.DoUnencrypted: unexpected end of JSON inputNow, any time I try
op signinit fails with the same error but the current timestamp.I am using 1Password 8.7.0-95 beta for Mac
- Anonymous
Hey @trombonehero ,
Apologies for the late response, but I would like to help you get to the bottom of this.
I believe this error is sent from the 1Password server on one of the HTTP requests that the CLI client sends to the server when the request body is malformed.
Do you mind trying an
opcommand that does not make a network request, such as a help command, likeop get user --helpand seeing if it works?