Hello Community!
I am having some trouble with using the Tableau Rest API and the download tool. I can currently get images of dashboards from it, but it becomes an issue when I have a filter that contains a special character "&". I have found out that if I have a %5C in front of the encoded version, so "%5C%26, then it will work.
Before I found this out I was having the download tool encode my strings so that they can be passed to the API. The issue is that this type of encoding doesn't work for me since I have to add the %5C to certain special characters. Along with this I was having the download tool add the authorization header. When I try to encode before and send it it I keep getting errors. I believe my problem is that I don't understand what the download tool is doing (how it modifies structure of the string that is passed through to the API) when it adds the header to the string. I believe I need to have the header encoded as well so that the entire string is encoded and passed to the download tool. That way I can dynamically change my encoding of my special characters, when needed, and pass them to the tool.
Let me know if I am not making sense. 