Skip to main content
Jesukaran John Silvester
Participant
January 8, 2021
Question

Adobe sign Setting expiry date problem

  • January 8, 2021
  • 1 reply
  • 689 views

Dear Support team,

 

We are planning to use adobe sign & one small problem with continuing POC.

  I am getting below error while setting expiry date.

 

I use API to generate the agreements and the API documentation says: "PUT /agreements/{agreementId}

 

But if I want to change the expiration date on an existing and sent agreement, I get a message: "403 CANNOT_EDIT_AGREEMENT_EXPIRATION You do not have permission to set the expiration date for this agreement." But I use integration key with all permissions allowed.

Can't I change the expiration date.

Please help me asap

Following is the SDK code I use

            string client_id = "CBJCHBCAABAAS3nYEeZmkcFxyOxJdR7wyWsHGDyOAKkN";

            string client_secret = "XXXXXXXXXXXXXXX";

 

            ApiClient apiClient = new ApiClient(client_id, client_secret);

            apiClient.SetAccessToken(TempData["token"].ToString(), Session["refresh_token"].ToString(),DateTime.Now.AddSeconds(3600), api_access_point);

            AgreementsApi ap = new AgreementsApi(apiClient);

            AgreementInfo aii = ap.GetAgreementInfo(agreementId);

            aii.ExpirationTime = Convert.ToDateTime(DateTime.Now.ToUniversalTime().AddDays(7).ToString("yyyy-MM-ddTHH\\:mm\\:ssZ"));

       ap.UpdateAgreement(agreementId, aii);

 

I am getting "403 CANNOT_EDIT_AGREEMENT_EXPIRATION You do not have permission to set the expiration date for this agreement." But I use integration key with all permissions allowed.

1 reply

Participant
June 6, 2023

Have you found the solution to this?

Participant
June 7, 2023

someone found the solution for this. 

https://community.adobe.com/t5/adobe-acrobat-sign-discussions/edit-expiration-date/m-p/8308100

in settings-send settings. document expiration has to be checked