0

I am attempting to add Docusign to an iPad app using the Docusign SDK for iOS (following the code examples and sample URI's) and am struggling with a login error. I can successfully retrieve the access token and user info using Implicit Grant but when I call the login api, I get the following error:

"Error Domain=user.additional.data.fetch.error Code=3 "Unable to fetch additional data for user - The operation couldn’t be completed. (account.settings error 3.)" UserInfo={NSLocalizedDescription=Unable to fetch additional data for user - The operation couldn’t be completed. (account.settings error 3.), NSLocalizedFailureReason=USER_ADDITIONAL_DATA_FETCH_ERROR}"

let configurations = DSMManager.defaultConfigurations()

// values for login are retrieved successfully

DSMManager.setup(withConfiguration: configurations)
DSMManager.login(
     withAccessToken: accessToken,
     accountId: accountId,
     userId: userId,
     userName: userName,
     email: email,
     host: url,
     integratorKey: integrationKey) { accountInfo, error in
        if let error = error {
           print("Error: Docusign login: " + error.localizedDescription)
        }
        guard let info = accountInfo else {
           completion(false)
           return
        }
        print("Docusign accountInfo: \(info)")
        completion(true)
     }

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.