I'm trying to set up a campaign with the v2 api (don't have the time authorization to convert to 3).
I'm getting a 314 Invalid segments error when I try and create a campaign:
$campaign = $cm->campaignCreate( $client_id, "Title", "Subject", "Client From Name", 'email@example.com', 'firstname.lastname@example.org', "http://site.com/html.html", "http://site.com/text.txt", array($list_id), array($segment_id) );
Can anyone point out why I'm getting the error? I know the ids are correct, and if I leave out the segments it creates fine. Thanks.
I got the same error, but not because I don't want to use v3. I am using v3:
Gemfile: gem 'createsend'
Heroku: Using createsend (2.1.0)
In development mode it works, but in production mode it fails. Any ideas?
Hey, can you contact support at campaignmonitor.com with your account url or the API key you're using so we can check the API logs to see exactly what json we're receiving and why you're receiving that errors? Thanks.