Skip to main content

Hello, 

        I am developing an integration from Workday to DocuSign to pull the completed documents into Workday. I am getting following error when trying to authenticate to the endpoint - https://account-d.docusign.com/oauth/token to get the access token

Error code : badrequest
Response :{"error":"invalid_grant","error_description":"unsupported_grant_type"}

I have the following Grant type which works fine in Postman. In addition to grant type, assertion key is generated which is passed along with grant type in Workday

assertion=@{props{'jwt.assertion']}&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Postman:

 

Hey @Radhika

 

You would need to check in the Workday integration if they are receiving properly the values that you use and are currently working in your Postman configuration. Anything missing in the assertion or any missing value provided in the grant_type will make it fail. 

 

😎


Reply