Hi
As a brief summary - I'm having trouble adding subscribers to a static segment, when I try to add more than 10 at a time.
The site we have implemented the API on allows us to build a list from our own database, subscribe these people to an existing MC list, create a static segment and then add the people on our temp list to that segment. We also schedule a campaign for this segment. This all works perfectly until the list we create goes over 10 people. At this point, we get the following error:
"Unable to Create New Campaign! Code=506 Msg=The segment_opts parameter should be an array with 1 to 10 elements. Unable to Schedule Campaign! Code=300 Msg=Invalid Campaign ID: 0"
I can see the error is coming from the campaignCreate function because all of the subscribe/segment functions are coded to occur when we schedule the email, but I can't understand why it's happening, when I've read in the documentation that we should be able to add an unlimited number of subscribers to a segment.
Please bear in mind that I am not a developer, I just have a very basic knowledge of code and I did not code the existing files - my lead developer did. I have attached the file which contains the functions, but please let me know if you need to see anything else.
Thanks!
Sabrina