Skip to main content
Avalara Help Center

I received an error message "ERROR: 22021 : A database error has occurred"; how do I fix this?

Overview

As a result of an API call to CertCapture, you received an error message "ERROR: 22021 : A database error has occurred" and want to know how to resolve this error.

Environment

CertCapture

Resolution

  • This error is thrown by the database and indicates that an invalid character has been passed in your request. If you were attempting to create a customer, please review the customer name and address looking for any unusual characters (such as accented letters). Replacing these with the standard letter should resolve the issue.