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(400) Bad Request: The structure of request was invalid
Hi,
I got the error mentionned in subject when performing the following command:
op vault list --user XXXXX
Any help will be appreciated :-)
Regards,
Emmanuel
1Password Version: 2.17.0 (op CLI tool)
Extension Version: Not Provided
OS Version: macOS 13.3.1
Browser:_ Not Provided
Referrer: forum-search:(400) Bad Request: The structure of request was invalid
- Former Member
A few tests later, same issue :
op vault list --user XXXXX --debug
1:05PM | DEBUG | Session delegation enabled
1:05PM | DEBUG | NM request: NmRequestAccounts
1:05PM | DEBUG | NM response: Success
1:05PM | DEBUG | NM request: NmRequestAccounts
1:05PM | DEBUG | NM response: Success
1:05PM | DEBUG | InitDefaultCache: successfully initialized cache
1:05PM | DEBUG | EncryptedKeysets: Cache hit on keyset
[ERROR] 2023/05/09 13:05:49 (400) Bad Request: The structure of request was invalid.
I tried to :
* Run the command through a Docker container using the official1password/op
image --> no success, the container exit as soon as it launches
* Build an Ubuntu VM --> after installing 1Password beta for ARM64 architecture, no success agin, I got the same error as with macOS - michael_c_1P
1Password Team
Hi Emmanuel,
This error is related to the permissions of the user you've used to authenticate with the CLI. The user must have admin privileges to read the vault permissions of other users. I'll flag this to the team to improve the error message.
Thanks,
-Mike - Former Member
Hi Mike,
Thanks for your answer and the feedback you can share with your team.
Regards,
Emmanuel - Former Member
Hey, quick update from the development team:
This is actively being worked on, at this time. We'll soon be able to display an improved error message.
Best,
Horia