Skip to main content
Avalara Help Center

What does the error message ModelStateInvalid mean in our audit log in SalesForce CPQ?


You are getting an error message when sending an API call from SalesForce, and asked us for an audit of the calls. The error message shown is ModelStateInvalid .


AvaTax and SalesForce CPQ connector


  • You will need to be a SalesForce Administrator to correct this.
  • Go to your Company setup Owner configuration, and ensure that the company Country is a standard 2-character abbreviation.
  • If it is not, change it to the proper 2-letter abbreviation, save changes, and re-test your GetTax call.