Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I had the same problem. At the TACACS server make sure you're using the same key you used at the TACACS client.
(/etc/tacacs+/tac_plus.conf )
the key I had configured on tac_plus.conf was (key = cisco)
I just removed the spaces and the problem gone (...