#Email Preview Issue for Longer Text
1 messages · Page 1 of 1 (latest)
@sudden glacier
thanks for sharing the transactionIds will look into this issue from our side
@sudden glacier
Could you please check if the payload schema is correct
As per above transactionId payloads, comments is of array type, but it is defined as string on payload schema
@tawny coral Still the same issue.
Tx ID: txn_69bcf92dpmblytdb62d4
@sudden glacier
I found the root cause
This is happening due to new line in the comment
This will pass
Hello @Divya Chaingr Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
but this will fail
Hello @Divya Chaingr
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s
Could you normalize the comment before sending as payload?
comment.replace(/\n/g, '<br>')
After normalization with <br> tag, it will pass
Hello @Divya Chaingr <br>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s