Skip to main content
Avalara Help Center

How do I resolve the error: "The underlying connection was closed..." in Microsoft Dynamics GP?


You are trying to calculate tax, validate an address, etc, but receive the error below:

"The underlying connection was closed: An unexpected error occurred on a receive."


Microsoft Dynamics GP


  • There are many possible causes of this error. Please check the following:
    • Test your AvaTax credentials to ensure you can connect successfully
    • Open an internet page and ensure you are connected to the internet
    • Go to and make sure there is not an outage or service disruption
    • Restart the server running GP and AvaTax
  • If you are connected to the internet, there is no outage listed on, and restarting the server running GP and AvaTax does not resolve the issue, please make sure you do not use SSL Certificates and are following current Avalara whitelisting standards