Open MikeN3 opened 6 years ago
Mike, Try adding the code below before your var credentials line.
ServicePointManager.SecurityProtocol = ServicePointManager.SecurityProtocol | SecurityProtocolType.Tls12;
Have the same issue for AccessToken.GetAccessToken if use GenerateToken from TokenApi it works.
Sorry, was wrong configuration
Hello,
I am having trouble in retrieving the access token. I have followed the step by step guide both on this github repo along with the ElliMae developer portal. As a side note there is a typo on step 2 in the repo page as the apiHost points to "https://api.elliemae.com.com" instead of "https://api.elliemae.com".
Here is my App.Config file.
Here is my Program.cs file
When I run this I get the following error in the exception: "Error calling GenerateToken: The underlying connection was closed: An unexpected error occurred on a send." I am confused since this should be a pretty simple task to do. Maybe I'm missing something very obvious. Also nothing appears on fiddler when I do run this program.
Thank you!