-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ItemCategory.PASSWORD: custom field with id 'username' must be part of a section #144
Comments
When reading back the updated value via the SDK client, I see that the 1Password client converted the item from an In general, it would be great to have documentation, which |
Hi @cimnine! Thanks for filing this issue.
I agree we will look into documenting that!
This is actually an expected error. If you want to add more fields to an item you can do so by adding them to a section. If you'd like them to show up in the UI as "top level" fields, without a section name, you should add them to a section that has an empty name ( |
It shouldn't be possible for item categories to change. Could you clarify what steps have you taken and what behavior you've observed. I would like to understand this occurrence better |
Scenario & Reproduction Steps
I try to create an item with
ItemCategory.PASSWORD
. I add a field withid='username'
,section_id=None
andfield_type=ItemFieldType.TEXT
:Actual Behavior
Expected Behavior
No error.
SDK version
0.1.5
Additional information
In the 1Password client, I can set a username for a Password-type item no problem.
The text was updated successfully, but these errors were encountered: