406 return code when creating an item
Hi, I'm trying to follow the guide in: https://github.com/1Password/connect-sdk-python/blob/main/example/main.py
kafka_item = onepasswordconnectsdk.models.Item(
title="TomerB-Test",
category="LOGIN",
tags=["auto_kafka_create_item"],
fields=[Field(value="aaaaaaaaaa")])
posted_item = client.create_item(default_vault, kafka_item)
But the return code is 406.
raise FailedToRetrieveItemException(
onepasswordconnectsdk.client.FailedToRetrieveItemException: Unable to post item. Received 406 for /v1/vaults/abcdefg/items with message: Logic: (Unable to create item TomerB-Test in Vault abcdefg),
python-BaseException
Reading the https://support.1password.com/connect-api-reference/#item-field-object, I could not find what is 406.
{"name":"1Password Connect API","version":"1.3.1","dependencies":[{"service":"sqlite","status":"ACTIVE","message":"Connected to /home/opuser/.op/data/1password.sqlite"},{"service":"account_data","status":"AVAILABLE","message":"Account data is available"},{"service":"sync","status":"ACTIVE"},{"service":"1Password","status":"ACTIVE"}]}
A follow-up question( I might need to create a separate post for that ), is, in case I have several items in a dictionary, what will be the best way to "add" them into a Field object?
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
