I'm making a request to update the value of a text field in an envelope. Here is the request I make. PUT /accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs
With the body
{
"textTabs": [
{
"value": "MY NEW VALUE",
"tabId": "{tabId}"
}
]
}
The envelope I'm updating is a draft envelope (status of created), and the recipient is the recipient I get the tabs of to find the tabId. However the response I get back is this.
{
"textTabs": [
{
"height": 11,
"requireAll": "false",
"width": 42,
"concealValueOnDocument": "false",
"disableAutoSize": "false",
"recipientId": "{recipientId}",
"tabId": "{tabId}",
"errorDetails": {
"errorCode": "INVALID_TAB_OPERATION",
"message": "The Tab specified is not valid for the requested operation. The tab is locked and cannot be updated."
}
}
]
}
However, if I get an editing console for the draft envelope, I'm able to update the field fine. It's the same field in both instance (only field where the tabLabel and name in the REST response matches the data label and tooltip of the request).
Even if the provider of the template locked the template (which I believe to be true, I cannot get an edit console on the template: "This user is not authorized to access the requested template. User does not have rights to edit shared templates."), I should still be able to update the tab on a draft envelope, correct? What do I need to do to edit this tab?
UPDATE:
We have noticed that the "templateLocked" field is true on any tabs we cannot change. However, as noted they can be changed in the views/edit console. Why can we change them there and not here? Is there any way to change them here?