Learn how to fix the following errors displayed in the QBWin.log when the Verify Data utility fails.
- LVL_SEVERE_ERROR--GetDecryptedCreditCardNumber Failed: The decryption has failed. CHECKPOINT: Failed to decrypt customer's credit card number. Customer ID: nnnn
- LVL_ERROR--Unable to decrypt National Insurance number/National Insurance number
These errors are due to damage in the encryption of sensitive fields such as credit card numbers, National Insurance or National Insurance, and bank accounts.
|Note: Before you being troubleshooting, update QuickBooks Desktop to the latest release and make a backup or portable company file.|
Solution 1: Check the QuickBooks Admin user for damage
- Sign in to your company file as the Admin.
- Change the Admin password.
- QuickBooks will re-encrypt the data in your file. Note that this may take several minutes.
Important: If QuickBooks crashes while encrypting, contact us. We may need to send your file to Data Services to remove all sensitive information from the file.
- Sign out from your company file. Go to File, then select Close Company or Logoff, then close QuickBooks.
- Reopen QuickBooks and sign in as the admin to complete the re-encryption process.
Check if the re-encryption is successful
- Run the Verify Data utility.
- Check the most recent entry in the log file.
- If you see any of the following errors, contact us to send your file to the Data Services for repair. If not, proceed to Solution 2.
- LVL_SEVERE_ERROR--GetMasterKey Failed: The decryption has failed.
- LVL_SEVERE_ERROR--GetDataAccessKey Failed: The decryption has failed.
Important: Only send your file to Data Services if the Admin user gets the Masterkey error. If the error applies to non-admin users, you need to delete and recreate the users affected.
Solution 2: Repair damaged encrypted fields
Use the following steps to fix missing or damaged encrypted fields. While these steps are specific to credit card numbers, you can use similar procedures for repairing Supplier Tax IDs or Employee SSNs.
Step 1: Run the Verify Data utility
Check for any possible data damage using the Verify Data utility.
Step 2: Look for the error message in QBWin.log
Check the error message in the QBWin.log to see what is affected.
- Find the QBWin.log and save it to any location you can easily access like your Desktop.
- Right-click the QBWin.log file. Select Open with, then choose Notepad.
- Note the Customer names and IDs that appears in the QBWin.log.
Step 3: Edit the credit card number of affected customer
Editing the credit card number removes the damaged data. If a lot of customers are affected, you can check Use advanced import to override damaged credit card info. This way you can do it efficiently.
- From the Customers menu, select Customer Centre.
- Select the small arrow ▼icon above the search bar, then choose All Customers.
- Find the name of the Customers or Jobs you took note of.
- Double-click the Customer or Job to edit, then go to the Payment Settings tab.
- Enter a 16-digit dummy credit card number and expiration date, then select Ok.
- Go to the Payments Settings tab again.
- Enter the correct credit card number and expiration date, then select Ok.
|Note: Repeat this step for all the Customer or Job you took note of in the QBWin.log file.
Step 4: Verify if data no longer has errors
Run the Verify Data utility again. This will tell if the issue is fixed.
- If there are no problems detected, the problem is fixed.
- If the Verification fails, check the QBwin.log for other errors that caused the verification to fail. If you still see Customers showing, then repeat Step 3.
Note: If you encounter "Verify Error: QuickBooks found a problem with the Acct #/Card #/Note field for other asset", you need to check for a damaged Admin user or manually edit the information.