cancel
Showing results for 
Search instead for 
Did you mean: 

Password with "&" in Rest Account

nganapathiraju
Former Employee

I recently had an issue where the password contained “&” in it and the end point which is a Auth Token server failed to validate it.

I was not sure if the Auth Server failed to receive it in proper format or if our snap was transmitting it improperly.

The workaround was to change the password replacing the “&” with another character such as “_”.

Please note this for any REST related problems.

2 REPLIES 2

robin
Former Employee

@nganapathiraju what kind of authentication scheme was this (OAuth? Form data?) If the password was in the request body or a query parameter, then the ampersand character would probably need to be escaped.

nganapathiraju
Former Employee

Yes I forgot to mention.

It was Oauth Authentication but it requires the credentials in the Post Body.