Skip to main content

Trying to set up OAuth in application, and getting errors on the auth code exchange for access token. Tried the exact same request in Postman and getting 200s. My request url, headers, and body looks good and identical to the one I am sending through Postman...

@kayluh 

Can you provide the error code and its description? It is most likely a refresh token error.


The error code is not being displayed but the message is:
Error retrieving Docusign access token Failed to execute 'open' on 'XMLHttpRequest': Invalid URL


@JohnSantos 

 

The error code is not being displayed but I have an error message from my error handling:
Error retrieving Docusign access token Failed to execute 'open' on 'XMLHttpRequest': Invalid URL


@kayluh 

The error message you're encountering, "Failed to execute 'open' on 'XMLHttpRequest': Invalid URL," suggests that there is an issue with the URL being used to retrieve the DocuSign access token. This could be due to several reasons, such as an incorrectly formatted URL, an empty URL, or an issue with how the URL is being constructed in your code.


Reply