Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!
SOLVED

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 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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