Skip to main content

Hello,

I call the below code from a soap call. The user I want to change to is withind my users with admin permissions. The error I get is 

=======================================================================

            <ErrorCode xmlns="missing in Web.Config">112</ErrorCode>
            <ErrorReason xmlns="missing in Web.Config">This User lacks sufficient permissions.</ErrorReason>

=======================================================================

 

I already have the Allow sender to download form data setting enabled.

 

Code:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.docusign.net/API/3.0">

          <soapenv:Header>

      <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">

         <wsse:UsernameToken>

            <wsse:Username>ÂintegrationKey]email</wsse:Username>

            <wsse:Password>appPassword</wsse:Password>

         </wsse:UsernameToken>

      </wsse:Security>

   </soapenv:Header>

   <soapenv:Body>

      <ns:CorrectAndResendEnvelope>

         <!--Optional:-->

         <ns:Correction>

            <!--Optional:-->

            <ns:EnvelopeID>myENvelopeId</ns:EnvelopeID>

 

            <!--Optional:-->

            <ns:RecipientCorrections>

               <!--Zero or more repetitions:-->

               <ns:RecipientCorrection>

 

                  <ns:PreviousUserName>myEmail</ns:PreviousUserName>

                  <!--Optional:-->

                  <ns:PreviousEmail>email</ns:PreviousEmail>

                  <ns:PreviousRoutingOrder>1</ns:PreviousRoutingOrder>

                  <!--Optional:-->

                  <ns:PreviousSignerName>my name</ns:PreviousSignerName>

                  <!--Optional:-->

                  <ns:CorrectedUserName>newUserEmail</ns:CorrectedUserName>

                  <!--Optional:-->

                  <ns:CorrectedSignerName>newUserFullName</ns:CorrectedSignerName>

                  <!--Optional:-->

                  <ns:CorrectedEmail>NewUserEmail</ns:CorrectedEmail>

                  <ns:CorrectedCaptiveInfo>

                     <!--Optional:-->

                     <ns:ClientUserId>NewUserClientId</ns:ClientUserId>

                     <!--Optional:-->

                 

                  </ns:CorrectedCaptiveInfo>

               </ns:RecipientCorrection>

            </ns:RecipientCorrections>

            <!--Optional:-->

         </ns:Correction>

      </ns:CorrectAndResendEnvelope>

   </soapenv:Body>

</soapenv:Envelope>

Be the first to reply!

Reply