You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably not related to c# SDK and indeed it could be related to rest API itself, I don't know any channel to report this issue to DocuSign to the team who develops the Rest API.
I am trying to use PUT /v2.1/accounts/{accountId}/folders/{folderId} api in c# sdk to move templates from my templates folder to shared template folder.
I tried using this api on api explorer page for Folders:moveEnvelopes and it is working as expected and from DocuSign UI I can see that the templates are moved to shared folder.
However, when using MoveEnvelopesAsync or MoveEnvelopes methods in c# SDK, I am getting
This Account lacks sufficient permissions. Invalid folder ID. error message.
I tried to dig this issue further with fiddler.
I noticed that only difference between ApiExplorer and C# sdk, is the version of RestApi being used.
c# sdk uses v2.1 as I can see from the source code and api explorer uses v2. Later I downloaded the source code of sdk and add it to my solution. To be able to debug it, I removed nuget reference and add the sdk project as a reference to my project.
The API for moving templates to a folder has changed in v2.1. Unfortunately, the new API method is not yet public. Our engineering group is evaluating its status. I have filed internal ticket TT-2817, asking for the endpoint to be made public.
If you want to add prioritization to the request, please ask your DocuSign contacts about the issue, referencing TT-2817.
In the meantime, please continue to use the v2 end point for moving templates into a folder.
Hi,
This is probably not related to c# SDK and indeed it could be related to rest API itself, I don't know any channel to report this issue to DocuSign to the team who develops the Rest API.
I am trying to use
PUT /v2.1/accounts/{accountId}/folders/{folderId}
api in c# sdk to move templates from my templates folder to shared template folder.I tried using this api on api explorer page for Folders:moveEnvelopes and it is working as expected and from DocuSign UI I can see that the templates are moved to shared folder.
However, when using MoveEnvelopesAsync or MoveEnvelopes methods in c# SDK, I am getting
This Account lacks sufficient permissions. Invalid folder ID.
error message.I tried to dig this issue further with fiddler.
I noticed that only difference between ApiExplorer and C# sdk, is the version of RestApi being used.
c# sdk uses v2.1 as I can see from the source code and api explorer uses v2. Later I downloaded the source code of sdk and add it to my solution. To be able to debug it, I removed nuget reference and add the sdk project as a reference to my project.
And then in the sdk source code, I changed the version of the API in the following line
https://github.com/docusign/docusign-csharp-client/blob/7185c466bf9ccd93599637e1901022bc1c5eead6/sdk/src/DocuSign.eSign/Api/FoldersApi.cs#L878
to
to make sure if this is really rest api problem. After this change, I was successfully able to move templates to shared folder.
If you are not dealing with this issue directly, can you please pass this ticket to team who works on rest api in DocuSign?
Regards
The text was updated successfully, but these errors were encountered: