Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
sshipway
3 years agoOccasional Contributor
templateUuid error when trying to create secret via Ruby SDK
I am trying to create a new Secret in a 1Password vault via the Connect API (container 1.5.1), using the Ruby gem SDK (0.1.3)
I am calling the api with:
item = op.create_item(vault_id: vau...
Former Member
3 years agoHi again,
We've tested your json by submitting it directly to Connect via an api request and the item was created successfully on our end. We dug a little deeper and tested the Ruby SDK and were able to to replicate your issue. It looks as if the Ruby SDK is sending connect an empty request body on POST. Your issue has shown us that we need better validation messages in this instance, so we will make an internal issue to work on this.
Where we don't own this repo, this will need to be resolved by the owner of the Ruby SDK, though I see you've already made an issue there.
Lastly, when creating a field only the id and type are required.
Please let us know if we can help with anything else.
Cheers