"(ERROR) json: cannot unmarshal number..."

edited September 2017 in CLI

I seem to be logged in okay, but almost every command I try results in:

[LOG] 2017/09/06 13:09:00 (ERROR) json: cannot unmarshal number 68719476495 into Go struct field UserOverview.permissions of type int

Any ideas?

1Password Version: CLI 0.1
Extension Version: Not Provided
OS Version: macOS 10.12.6
Sync Type: Not Provided


  • cohixcohix

    Team Member

    @cwb71 Good catch. I've tracked that issue down, we'll get that fixed up ASAP.

    Could you please let me know which commands it happens with?

  • Hm, sure:

    op list documents: broken
    op list events: works
    op list groups: works
    op list items: broken
    op list templates: works
    op list users: works
    op list vaults: broken

    op get account: works
    op get document: broken
    op get item: broken
    op get template: works
    op get totp: broken
    op get user: works
    op get vault: broken

    Shall I go on?

    Any idea what's going on here? Any work around?


  • +1
    same errors

  • rickfillionrickfillion Junior Member

    Team Member

    I find it interesting that we didn't run into this issue ourselves while testing this. It seems like it's due to you having certain permissions set on your account, but I'm surprised that none of our test accounts had these set.

    The workaround for the time being would be to create another user with fewer permissions and using that user as the CLI user. That's not a very fun workaround though. We'll get the issue resolved and a new build out.


  • cohixcohix

    Team Member

    @cwb71 @robertovalerio We've just pushed v0.1.1 with a fix for this issue. Please let me know if it's resolved for you!


  • That worked, thank you for the quick resolution!

  • cohixcohix

    Team Member

    Any time!

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file