"(ERROR) json: cannot unmarshal number..."
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
Comments
-
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: brokenop 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: brokenShall I go on?
Any idea what's going on here? Any work around?
Thanks,
Craig0 -
+1
same errors0 -
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.
Rick
0 -
@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!
0 -
That worked, thank you for the quick resolution!
0 -
Any time!
0