Skip to main content

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:

  1. How can I confirm whether the issue is due to missing user consent versus a key mismatch?

  2. What is the exact procedure to generate the consent URL and have the user approve it in the demo/sandbox environment?

  3. Are there best practices for managing the lifecycle of keys (rotation, updates) to avoid this type of error?

Thanks a lot for your help 🙏

 

Be the first to reply!

Reply