Sometimes you can get this error when you press the "calculate tax" button.

This happens when the credentials are not properly configured.

How to solve it?

Go to Connection setup, under "settings" in the Avatax module.

Check if the Account and License key are the right ones, then press "load companies", and "test connection".

Check if the issue is solved