CLI - Login Template

Hey All,
Does anyone have a template example for creating a new login item with multiple sections? Below is an example of a template with 1 section, but as soon as I added a second section i get the error "Couldn't validate the item: \"[ItemValidator] has found 1 errors, 0 warnings: \nErrors:{1. details.sections[2] has non-unique name}\"". Thoughts?

{
"fields": [
{
"designation": "username",
"name": "username",
"type": "T",
"value": ""
},
{
"designation": "password",
"name": "password",
"type": "P",
"value": ""
}
],
"notesPlain": "",
"passwordHistory": [],
"sections": [
{
"name":"linked items",
"title":"Related Items"
},
{
"fields":[
{
"k":"string",
"n":"RHUFWP1YTHB0WQ0OASGX2FZHT9M7BV51",
"t":"section1_name",
"v":"section1_value"
}
],
"title":"section1"
}
]
}


1Password Version: 1.12.3
Extension Version: Not Provided
OS Version: Centos

Comments

  • Ha! got it.. I needed to add a "name" attribute about my section title!

    example:
    "name":"Section_82E8D1F9F4E34E75BF5289EAD12F775A",
    "title":"SECTION2"

Leave a Comment

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