error trying to create a password
When trying to add a "password" item, I'm getting the error:
Validating item failed: "[ItemValidator] has found 1 errors, 0 warnings: \nErrors:{1. Password item requires ps value}"
the password template doesn't seem to have a ps
fieldop get template password
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Sync Type: Not Provided
Comments
-
@munkyboy you seem to be right about that, I'm going to look into why the template doesn't have that value.
For now, you can create a password item in one of the desktop/mobile apps, then run
op get item [name]
to see its JSON, and copy thedetails
portion of it to create a new item using the CLI, instead of using the template directly.0 -
ps
is underoverview
, notdetails
. Can you show an example template that illustrates whereps
should go? I tried adding it as top level element and it did not work. i.e.{ "notesPlain": "", "sections": [], "passwordHistory": [], "password": "", "ps": 100 }
0 -
Note that if you copy the JSON from an existing item, the
ps
value stands for password strength, and is what will control how strong the password appears to be in the app.Rick
0 -
I'm getting the same error. Can someone please provide the JSON template that is working? Im trying with several things but still no luck.
It always return {1. Password item requires ps value}
0 -
Same here. This breaks our whole automation setup. Could you please provide a valid template quickly?
0 -
{ "details": { "password": "secret", "passwordHistory": [], "sections": [ { "name": "linked items", "title": "Related Items" } ] }, "overview": { "ps": 100, "title": "My Secret" } }
=>
[LOG] 2019/10/29 13:39:37 (ERROR) Validating item failed: "[ItemValidator] has found 1 errors, 0 warnings: \nErrors:{1. Password item requires ps value}"
0 -
@munkyboy , @ginkz182, @dschneller : We have just released v0.7.1 to address this issue. With this release the default template should work as is (i.e. no changes to the template are necessary). We are very sorry for the inconvenience!
https://app-updates.agilebits.com/product_history/CLI#v70101
If you continue to have problems, please let us know.
0 -
Also confirmed. Thanks!
0 -
Great! Thanks for the update! :)
0