Rendered_Email_Velocity_Error_Area_?! String index out of range: 62714 near ? | Community
Skip to main content
New Participant
July 22, 2022
Question

Rendered_Email_Velocity_Error_Area_?! String index out of range: 62714 near ?

  • July 22, 2022
  • 1 reply
  • 2577 views

I've checked through the Forum and I can't find any solution that fixes this.

All I did was duplicate an existing URL variable in my email and referenced them as such in the HTML. And I continue to get this error after doing so. 


I tried adding the code from the post below into my new variables and that didn't erase the error.
https://nation.marketo.com/t5/product-discussions/rendered-email-velocity-error-area-error-without-velocity/m-p/207898#M152284

 

This was the closest I found to replicating the issue I'm facing - but I have no velocity tokens activated at the program level.
https://nation.marketo.com/t5/product-discussions/imported-template-error-string-index-out-of-range-15020-near/m-p/52107#M21694


I have no idea what is going wrong here. The email template had no issue working with a single URL variable before I duplicated it.

Below are the variables I created off the first in the header section....

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

1 reply

SanfordWhiteman
New Participant
July 22, 2022

Velocity is always used, whether you have explicit Email Script/Velocity {{my.tokens}} or not.

 

Try using ${esc.h} instead of literal #.

aajakesAuthor
New Participant
July 22, 2022

I tried this. But doesn't solve the issue. Even tried replacing the default value with a URL for each and that doesn't end up solving the issue.

Also tried removing the space in the mktoID (ButtonLink 2 to ButtonLink2) but I'm still running into the same error.

 

 

Aaron Jakes | Concentrix | Marketing Automation Specialist
SanfordWhiteman
New Participant
July 22, 2022

Then you’re looking in the wrong area, as the mere existence of variables without set values can’t cause this. Think about it: what makes these variables different from any other string variables with empty values? Just because you intend to put a URL in them doesn’t matter, Marketo has no concept of the semantic meaning of a mktoString variable name.

 

I certainly would not put spaces in the id attribute, however. This is invalid HTML. Whitespace is not allowed in an id.