Forum Discussion
"error initializing client" with multiple CLI calls
@"Horia.Culea_1P" - A few updates / corrections to what I said last week:
1- The error seems to occur any time my computer has been locked. Notably, I don't need to launch the app to get it working again. Running and failing once seems to be enough to "wake it up" for the second attempt. Also, the error under these conditions is slightly different than the one I originally reported:
[ERROR] 2023/05/30 09:15:58 could not read secret op://myVault/[ITEM UID - REDACTED]/username: error initializing client: RequestDelegatedSession: received unexpected response from 1Password app. Please make sure 1Password CLI and the 1Password app are up-to-date.
2- I need to retract my statement about the race condition. I am spuriously seeing that again, usually on the third call.