To avoid error code 6190 and 816, consider these preventive measures: -          Use a stable network connection with proper configurations. -          Make sure to exit QuickBooks properly after usage. -          Create a backup of your company file regularly. -          Limit the number of users accessing the company file simultaneously. -          Keep your QuickBooks software updated.