Error: "Bad Request" When Logging In With REST API Using A Password tha Contains Ampersand
Published: 01 Mar 2017
Last Modified Date: 06 Mar 2017
IssueWhen using REST API to login in to Tableau Server, the following error might occur if the password contains an ampersand (&):
- Tableau Server
- REST API 2.3
ResolutionAdd the following "&" to replace the ampersand in the password.
- Instead of "Pass&word"
- Use "Pass&word"
CauseDepending on the program being used to test the REST API, the & symbol can be interpreted as HTML.
Additional InformationAccording to the following link, the issue may occur for other characters. For more information about such best practices, see Escaping XML Data.