Tokens don't work under the program cloned by REST API | Community
Skip to main content
July 14, 2017
Solved

Tokens don't work under the program cloned by REST API

  • July 14, 2017
  • 1 reply
  • 2659 views

Hi,

I used Clone Program REST API to clone a program that contains a local My Token, an approved email, and a batch smart campaign. Then I ran the campaign to send the email under the new cloned program. However, the tokens in the email did not work (see below). The email contains a lead.FirstName token and a my.My Token:

Dear ${lead.First_Name_1_0},

${my.My_Token_1_0}

But when I clicked Edit Draft for the email and approved it again, the token could work well even if I did not do any change:

Dear tester,

This token has been replaced.

Besides, if I clone the program on Marketo UI manually and send the email, the tokens also work.

Does anyone have the same issue? Is a Marketo bug or is there anything I missed?

I would like to used API to clone programs and send emails with tokens, how can I make it work?

Thank you in advance!

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

This is a bug that is fixed in our upcoming minor release, currently scheduled for 7/28.  Currently there is a workaround where you can unapprove and reapprove the email and it should work as expected.

1 reply

Kenny_Elkington
Kenny_ElkingtonAccepted solution
New Participant
July 17, 2017

This is a bug that is fixed in our upcoming minor release, currently scheduled for 7/28.  Currently there is a workaround where you can unapprove and reapprove the email and it should work as expected.

July 18, 2017

Thank you!