(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
Comments
-
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 official
1password/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
0 - Run the command through a Docker container using the official
-
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,
-Mike0 -
Hi Mike,
Thanks for your answer and the feedback you can share with your team.
Regards,
Emmanuel0 -
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,
Horia0