Changes to API secure connection?

Hi,

Existing, working code has stopped working. Now, whenever a call is made to the API via https I receive a 401 error with the following details:

'Code' => 50,
'Message' => 'Must supply a valid HTTP Basic Authorization header'

Has anything changed at the CM end? I know the IP addresses changed in mid-July but that wouldn't have this effect.

Thanks

Jeffery

tobyb tobyb, 2 years ago

Hi Jeffery,

We haven't been seeing issues of this sort. If your still having trouble do you want to get in touch with support [at] campaignmonitor.com with your API Key and well have a look for you.

Thanks
Toby

acasanovas, 1 year ago

Hi,

I am facing the same issue in the sample SampleRunner.java when executing following line inside runGeneralMethods():

System.out.printf("Result of get clients: %s\n", Arrays.deepToString(client.getClients()));

Please your assistance,
Albert

Ken Ken, 1 year ago

Hi Albert,

We're still not seeing this sort of issue happening.  If your still having trouble do you want to get in touch with support [at] campaignmonitor.com with your API Key and well have a look for you.


http://www.campaignmonitor.com

Sign up for free.
Then send campaigns for as little as $9p/m

Create an account