Hello everyone,
I’m currently working on an integration with the DocuSign API using JWT authentication. When I try to call the API, I get the following error:
send-docusign-signature] DocuSign rejects JWT signature - public/private key mismatch or missing consent
Here’s what I’ve already checked:
-
The private key in my code is the one generated when I created the app.
-
The public key has been uploaded correctly in my DocuSign integration settings.
-
My Integration Key (client_id) is correct.
-
I suspect the issue might either be a key mismatch or the fact that the user consent has not yet been granted.
My questions are:
-
How can I confirm whether the issue is due to missing user consent versus a key mismatch?
-
What is the exact procedure to generate the consent URL and have the user approve it in the demo/sandbox environment?
-
Are there best practices for managing the lifecycle of keys (rotation, updates) to avoid this type of error?
Thanks a lot for your help