I am using DocuSign Java SDK and trying to get access token using JWT flow.
When I call ApiClient.requestJWTUserToken I got error:
"POST https://account-d.docusign.com/oauth/token returned a response status of 400 Bad Request"
But when I set debugging true then I got the actual error message:
{ "error": "consent_required" }
How can I get the real error?