Bug in Activate Smart Campaign API | Community
Skip to main content
Digital_Pi51
Level 1
Aug 26, 2019 6:53 PM UTC
Question

Bug in Activate Smart Campaign API

When calling the REST API I am finding some campaigns that fail to activate via the API although they activate fine when don manually.  (Using this REST API  https://developers.marketo.com/rest-api/assets/smart-campaigns/#activate )

The error returned by the API is:

{'message': u'Wrong number of operands for the given operand', 'code': u'709'}

By trial and error, I determined the issue in Marketo is a "Campaign is Requested" trigger that has a source value of  "is any"

If that is changed to a specific value such as "is Marketo Flow Action" then the campaign activates just fine via the API.    So this is clearly a case of acivation thru the API doing validation differently (incorreclty( than with activating manually through the GUI.

This is simple to reproduce:  just set up a campaign with "Campaign is Requested" trigger that has a source value of  "is any" as in screen shot and then try to activate through the API.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

Digital_Pi51
Level 1
Aug 27, 2019 4:47 PM UTC

This can be activated manually.

It cannot be activated by API.  


This CAN be activated manually and by API.

Translate
Nicholas_Manojl
Level 8
Aug 27, 2019 6:06 AM UTC

I never considered it was possible to activate a Campaign is Requested trigger with an 'is any' operator. 

Translate