Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
gboudrea
4 years agoOccasional Contributor
Invalid iv in the message
After successfully signing in, trying to list my personal vault errors-out:
$ op list items --vault gboudrea
[ERROR] 2022/03/12 16:37:17 Invalid iv in the message: 16
Other vaults are OK.
Similarly, I can do op get account 'My Item Name'
, but trying to get the TOTP of the same item fails. Same for get item
:
$ op get totp 'My Item Name'
[ERROR] 2022/03/12 16:39:25 failed to listMatchingItemsInVault: Invalid iv in the message: 16
$ op get item 'My Item Name'
[ERROR] 2022/03/12 16:41:55 failed to listMatchingItemsInVault: Invalid iv in the message: 16
Thanks.
1Password Version: CLI 1.12.4
Extension Version: N/A
OS Version: macOS 12.2.1
18 Replies
- Former Member
Glad this got sorted out! Let us know if we can help with anything else.
- gboudreaOccasional Contributor
All good, this can be closed.
- Former Member
Hey gboudrea,
Just to confirm, has your problem been solved, or do we need to follow up here? :DThanks,
Horia - gboudreaOccasional Contributor
(Yes. Edited my post above.)
- Former Member
Looks like your messages just came into our system, did you get a response from BitBot via e-mail?
- gboudreaOccasional Contributor
#YSL-13514-125
- Former Member
Thank you so much for following up here. We really appreciate your patience. We have one last piece we'd like to hit on privately to wrap this up. To facilitate that, could you please email us at 'mailto:support+forum@1password.com', and then post the support ID you get back from BitBot here?
- gboudreaOccasional Contributor
I then went on 1password.com, and in my Guillaume vault, an item was left. That item was NOT showing in 1Password 8 for Mac.
So I moved that item to another vault (Personal), and now, I can successfully list both my Guillaume and Personal vaults!
I moved that item back into Guillaume, and voilĂ . I can now list all vaults using the CLI, and that item works too. I guess moving it from 1password.com fixed the problem with that item.FYI:
That item was NOTMy Item Name
, it was something else.
That culprit item had:
- last modified: February 28, 2016 5:00 PM
- created: November 24, 2009 9:10 AMSo for anyone with a similar problem:
- Create a new vault
- Using a native 1Password client (Mac or Windows): nove all items from the problematic vault into that new vault
- Go on 1Password.com, and look into the problematic vault; you should see 1+ other items. Move them into the new vault from the web interface. You should now see all items, including those problematic items, in the new vault.
- Using a native client: nove all items from the new vault back into the problematic vault
- Delete the now empty new vault
The problematic vault should now be OK. Yay. - gboudreaOccasional Contributor
I moved all items from Guillaume into a new Guillaume2 vault. Guillaume vault is now empty.
I canop item list --vault Guillaume2
, butop item list --vault Guillaume
still fails, even empty.But I have 234 archives items in that vault...
I couldn't find how to view only those archives items, so I moved all my archived items into a new vault.
Guillaume is not completely empty, but still returns the error onop item list --vault Guillaume
- ajh0912Dedicated Contributor
gboudrea Unfortunately that's exactly how
op item get
works, here's the docs. https://developer.1password.com/docs/cli/reference/management-commands/item/#item-getRequesting an item by name retrieves all the items you have access to from the 1Password servers, and then filters them by name client-side. This could result in hitting the rate limits quicker than expected. To limit the scope of the search, include the --vault flag.
As a workaround to troubleshoot before item level debugging is available, you could move a subset of items into another (or new) vault, maybe half of them, and ensure you filter to the original vault. Then you can repeat and narrow down to see when it's erroring and when it isn't.