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, 5 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, 4 years 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, 4 years 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

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free
1-888-533-8098