Reference link: https://tableau.github.io/server-client-python/docs/versions The section talk about changing the API version being used. The assignment `server.version = 2.4` is wrong as the version property needs to be a string for code in the TSC repository to function. It should be `server.version = '2.4'`