Error codes 21 and 319. I keep having to rebuild the database on every back up I take of Prem Acct Edit 2019. How do I correct these errors? Thanks for any help.

Error 21 : Verify Target transaction out of balance ....

Error 319 : Verify Target Currency ID doesn't match currency ID in master rcrd.

Has anyone any experience with these errors?


I can help you correct these errors, irloffice.

The first thing we need to do is to back up your company file. We do this to prevent any data loss. Then, let's open the QBWIN.LOG file. It stores all QuickBooks messages, including these errors. From there, we'll be able to identify how to make them right. 

To back up your company file: 

  1. Click on File and select Open or Restore Company.
  2. Select Restore a backup copy, then Next.
  3. Choose Local Backup, then Next.
  4. Then, save the .qbb file on your computer.

Here's how to find the QBWIN.LOG file:

  1. Open your QuickBooks. 
  2. Press F2 then F3 on your keyboard.
  3. Select the Open File tab. 
  4. Double-click QBWIN.LOG
  5. In the QBWin - Notepad, press Ctrl + F
  6. Type the Error 21 and/or Error 319 and click Find Next.

Once you've seen the complete error messages, please follow the solutions for each example below. I've also attached some screenshots for your reference.

'Error 21 : Verify Target transaction out of balance in invoice no. 001.' To correct it, find the invoice using the search function in QuickBooks. Open and edit it to add the missing item details to correct the balance. 

'Error 319 : Verify Target Currency ID doesn't match currency ID in master rcrd.' We can correct it by re-sorting a specific list in QuickBooks. Please follow the Master Names list steps found in this article: Re-sort Lists.

After that, run the Verify and Rebuild Data tool to see if we've fixed the errors. Please see the Step 1 in this article: Resolve Data Damage On Your Company File.

I'll be right here if you need me. Have a great day! 

Was this answer helpful? Yes No
IntuitGarlynGay , Community Support Specialist

No answers have been posted

More Actions

People come to QuickBooks Learn & Support for help and answers—we want to let them know that we're here to listen and share our knowledge. We do that with the style and format of our responses. Here are five guidelines:

  1. Keep it conversational. When answering questions, write like you speak. Imagine you're explaining something to a trusted friend, using simple, everyday language. Avoid jargon and technical terms when possible. When no other word will do, explain technical terms in plain English.
  2. Be clear and state the answer right up front. Ask yourself what specific information the person really needs and then provide it. Stick to the topic and avoid unnecessary details. Break information down into a numbered or bulleted list and highlight the most important details in bold.
  3. Be concise. Aim for no more than two short sentences in a paragraph, and try to keep paragraphs to two lines. A wall of text can look intimidating and many won't read it, so break it up. It's okay to link to other resources for more details, but avoid giving answers that contain little more than a link.
  4. Be a good listener. When people post very general questions, take a second to try to understand what they're really looking for. Then, provide a response that guides them to the best possible outcome.
  5. Be encouraging and positive. Look for ways to eliminate uncertainty by anticipating people's concerns. Make it apparent that we really like helping them achieve positive outcomes.

Select a file to attach:

Qb community
Looking for advice from other business owners?

Visit our QuickBooks Community site.