API Error in Transactional Messaging | Community
Skip to main content
abhinav99
Level 4
January 18, 2023
Solved

API Error in Transactional Messaging

  • January 18, 2023
  • 1 reply
  • 1014 views

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.

 

 

Below is the API Call 

 

 

It gives an error at the '&' symbol. 

 

Any help on this?

 

regards,

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 Shubham_Goyal__

Hi @abhinav99 ,

 

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

 

1 reply

Shubham_Goyal__
Shubham_Goyal__Accepted solution
Level 6
January 18, 2023

Hi @abhinav99 ,

 

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