Open ebram96 opened 3 years ago
Hi, See https://www.docusign.com/blog/dsdev-from-the-trenches-may-2020 for some ideas.
From a quick look, I think your base_path
should be set to https://demo.docusign.net/restapi
(The JWT claim for the oauth service provider is just the domain name, but the base_path includes the full URL.)
If the above doesn't work, please open a developer support case via go-live@docusign.com
X-DocuSign-Authentication
headerYes, that's "legacy authentication" which is no longer supported for new apps. Please use OAuth instead, as you're doing. You're close!
@LarryKlugerDS Dear lord! It worked after adding the 'https' to the base URL! Some validation should have been added to the SDK to validate that part! I've been bashing my head to the wall. Thank you! But, the error message is really misleading! I thought it's something about authentication!
I'm glad it worked! I agree with your suggestion and will file a bug report against the SDK.
I've filed DCM-5781 and DCM-5782
Thanks! Is there a link or something to the filed report ? I can't find it in open issues.
I'm trying to send an envelope created from a template in my account. But, I'm always getting the response:
HTTP Unauthorized 401
{"errorCode":"PARTNER_AUTHENTICATION_FAILED","message":"The specified Integrator Key was not found or is disabled. An Integrator key was not specified."}
Here is my code:
Most of the code is duplicated from this example.
Notes:
X-DocuSign-Authentication
header that contains my account username & password, it works. But, certainly I want to be able to use just the token, not my login credentials!X-DocuSign-Authentication
makes it work ??