I have a calculated filed with python script to decrypt encrypted values of PID (a field in data, contains values from 1 to 20). It works well for encrypted values of all PID in Tableau Desktop. I published this workbook on tableau server. When i pass encrypted value of PID through parameter in url, it returns unknown server error. However it works fine for some encrypted values.
When passing encrypted value of PID=2, which is dYWbrC7skW/9weEyKkG/LQ==