I am using Java wrapper, I am getting this error when I am trying to call getting a template API-
I tried oauth as well as API Key method of authenticating, the app has all the permissions in scope.
Please let me know what I am doing wrong.
Hi alok26sinha , welcome to our forums!
Looking at our logs of the requests you are making, the templateID is the problem and we're sending back the "4001 Invalid TemplateID or the template doesn't exist" error within our response. I'm afraid that this is because our Canvas templates (made through the 'Gallery' tab) are not yet supported within our API.
I know this would be a really nice feature to have, so I've added your vote for it. We are careful to count all our customers' votes (see https://www.campaignmonitor.com/blog/post/4233/feedback-tool-feature-suggestions), so we'll consider it when planning what features to add in the future, and we'll be sure to email you if and when it's possible.
Any custom templates will certainly work with that API request and the proper template ID.
same problem with http error, thx for the solution carissa
From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.Get started for free