Skip to content
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

UpdateTabsAsync throws "INVALID_REQUEST_BODY: The request body is missing or improperly formatted. No tabs specified." #460

Open
PeterJamesLawson opened this issue Nov 20, 2024 · 0 comments

Comments

@PeterJamesLawson
Copy link

From EnvelopesApi.cs:

/// <summary>
/// Updates the tabs for a recipient.   Updates one or more tabs for a recipient in a draft envelope.
/// </summary>
/// <exception cref="DocuSign.eSign.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="accountId">The external account number (int) or account ID Guid.</param>
/// <param name="envelopeId">The envelopeId Guid of the envelope being accessed.</param>
/// <param name="recipientId">The ID of the recipient being accessed.</param>
/// <param name="tabs"> (optional)</param>
/// <returns>Task of Tabs</returns>
public async System.Threading.Tasks.Task<Tabs> UpdateTabsAsync(string accountId, string envelopeId, string recipientId, Tabs tabs = null)
{
        ApiResponse<Tabs> localVarResponse = await UpdateTabsAsyncWithHttpInfo(accountId, envelopeId, recipientId, tabs);
        return localVarResponse.Data;
}

However, either of these throw "INVALID_REQUEST_BODY: The request body is missing or improperly formatted. No tabs specified."

await EnvelopesApi.UpdateTabsAsync(accountId, envelopeId, "1");
await EnvelopesApi.UpdateTabsAsync(accountId, envelopeId, "1", null);

Any idea what I am doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant