Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
2 years ago"error initializing client" with multiple CLI calls
I've written a PowerShell script to grab credentials from 1Password for authenticating with a service. The script has been working great for months, but recently started throwing errors. I think I've...
tristan957
2 years agoNew Contributor
I am seeing the same issue on Fedora 38 and can reproduce it 100% of the time. The following operation is from an op read.
log
12:35AM | DEBUG | Session delegation enabled
12:35AM | DEBUG | NM request: NmRequestAccounts
12:35AM | DEBUG | NM response: Success
12:35AM | DEBUG | NM request: NmRequestAccounts
12:35AM | DEBUG | NM response: Success
12:35AM | DEBUG | account not signed in, filter= latest_signin_user=SYSNYVFBMRB57IQYUFNLKSHSDM
12:35AM | DEBUG | NM request: NmRequestAccounts
12:35AM | DEBUG | NM response: Success
12:35AM | DEBUG | NM request: NmRequestAuthorization
12:35AM | DEBUG | NM response: Success
12:35AM | DEBUG | NM request: NmRequestAccounts
12:35AM | DEBUG | NM response: Success
12:35AM | DEBUG | NM request: NmRequestDelegatedSession
12:35AM | DEBUG | NM response: Notification
12:35AM | WARN | Cannot unmarshal into NmhResponse: unexpected end of JSON input
[ERROR] 2023/06/07 00:35:26 could not read secret op://Private/aerc/password: error initializing client: RequestDelegatedSession: received unexpected response from 1Password app. Please make sure 1Password CLI and the 1Password app are up-to-date.