Rest Connection - Special character in credentials

prachi
Regular Contributor
Regular Contributor

Hi,

I am working on REST Connector and I have specials character in my credential.

"client_secret":"{X7+)PYU~\4Q" 

Due to brackets in between ("{" & ")"), getting the syntax error while saving the connection.

Could you pls suggest on how do we use this credentials?

Regards,

Prachi

 

6 REPLIES 6

RakeshMG
Saviynt Employee
Saviynt Employee

Please try escaping the brackets 

"\{X7+\)PYU~\4Q"


​Regards

Rakesh M Goudar

prachi
Regular Contributor
Regular Contributor

Hi,

I tried remove each special character and Saving the JSON and it looks like the issue is because last third character {"\"}.

I have tried using escape char like :

{X7+)PYU~\\4Q , but still getting error.

Attching the log for reference

prachi_0-1675410153468.png

 

rushikeshvartak
All-Star
All-Star

What is error message


Regards,
Rushikesh Vartak
If the response is helpful, please click Accept As Solution and kudos it.

Attching the log for reference.

Looks like the error is because of last 3rd character {"\"}

prachi_1-1675410211387.png

 

{X7+)PYU\\~4Q


Regards,
Rushikesh Vartak
If the response is helpful, please click Accept As Solution and kudos it.

prachi
Regular Contributor
Regular Contributor

Thanks, This is working with \\\\

{X7+)PYU\\\\~4Q