Error using API..

Anonymous
Not applicable

Error using API..

Hi,

I developed a C# job to get multiple leads by date range.  I get this error after certain time.  Any ideas?

An error occurred while making the HTTP request to https://xxx-xxx-xxx.mktoapi.com/soap/mktows/2_9. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.

2 REPLIES 2
Anonymous
Not applicable

Re: Error using API..

Certificate for HTTPS is not configured in your service. You must configure certificate for http.sys. To do that use netsh.exe from command line with elevated privileges. If you are hosting your service in IIS/WAS you don't have to use netsh and you can configure HTTPS directly in IIS.

Hope this helps.

SanfordWhiteman
Level 10 - Community Moderator

Re: Error using API..

This is a connection from a C# app to Mkto. No access to the server (which I doubt is running IIS anyway) would be possible.