1
votes

I am using Docusign Login information api in a mapping with Informatica Cloud . The mapping executes successfully with a fault response.The error message in the fault response is as follows.I have tested the same api in postman.I am using Integrator Key provided by Docusign for authentication along with my username and password.The API works perfect in postman.But with Informtica Cloud it gives me following error. I have created swagger file with username,Password and integrator key as headers for creating the web service in Informatica Cloud.I am using Authentication type as 'Basic' in the connector and in swagger file.Where I am I going wrong with authentication?The Integrator Key or the username and password are valid.

Unauthorized {

  "errorCode": "AUTHORIZATION_INVALID_TOKEN",

  "message": "The access token provided is expired, revoked or malformed."

}
2

2 Answers

1
votes

This question/answer from the Informatica site may be of help.

If the Informatica Cloud connector enables you to pass an X-DocuSign-Authentication header then you can use DocuSign's Legacy authentication.

If not, then you will need to send an Authorization header with value Bearer a_bearer_token

From the Informatica QA, it looks like you will need to create a small application that will use the JWT Grant to create an Access Token, and then return the Access Token to Informatica.

Next, use the Access Token via Informatica to use DocuSign's API.

I'm sure that Informatica Cloud's consultants have come across this issue before, you could also contact them for help.

1
votes

DocuSign doesn't support Basic Authentication for API calls.

I'm not familiar with Informatica Cloud, are you able to define a custom header so you can properly provide the x-docusign-authentication data block?