Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!

API Error in Transactional Messaging

Avatar

Level 1

Hi Everyone, 

While making an API call (Transactional type) I need to pass a link inside CTA.

The link has multiple parameters and when I make the call, it gives the below error.

Abhinav3_0-1674028115578.png

 

 

Below is the API Call 

 

Abhinav3_0-1674028027795.png

 

It gives an error at the '&' symbol. 

 

Any help on this?

 

regards,

1 Reply

Avatar

Level 7

Hi @Abhinav3 ,

 

Special characters such as > < & are illegal/not supported in XML thus when you pass the SOAP XML body you get the error at '&'.

You can try using the following instead of '&', to escape it:

&amp;
---or---
&#38;

whichever works for you.

 

Br,

Shubham