Sidebar
0 votes
338 views
by brandon-w-8204 (34.1k points)
I am getting a "checksum validation error. Incoming Checksum data does not validate attached zip file. *BLK00009)”. Retrying" error. How do I resolve this.

1 Answer

0 votes

The "checksum validation error. Incoming Checksum data does not validate attached zip file. *BLK00009" means in the Checksum sent the the zipped cda to the CQR endpoint do not match. This can happen when CQR messages are delayed or QIE is restarted while they are processing and they get stored to the QIE database and not stay in memory. To fix this do the following:

1. Modify the Ack script to error the message and not retry:

Change this:

if (
   StringUtils.equals(errorCode, 'BLK00001') ||
   StringUtils.equals(errorCode, 'BLK00004') ||
   StringUtils.equals(errorCode, 'BLK00005') ||
   StringUtils.equals(errorCode, 'BLK00008') ||
   StringUtils.equals(errorCode, 'BLK00009')
) {
   
   // throw send error (to cause retry)
   qie.throwSendError(
      'PIL returned "' + errorDescription + ' (' + errorCode + ')".  ' +
      'Retrying.'
   );
}

To this:

if (
   StringUtils.equals(errorCode, 'BLK00001') ||
   StringUtils.equals(errorCode, 'BLK00004') ||
   StringUtils.equals(errorCode, 'BLK00005') ||
   StringUtils.equals(errorCode, 'BLK00008') ||
   StringUtils.equals(errorCode, 'BLK00009')
) {
   
   // throw send error (to cause retry)
   // qie.throwSendError(
   //    'PIL returned "' + errorDescription + ' (' + errorCode + ')".  ' +
   //    'Retrying.'
   // );
   return false;
}
 

2. Save the channel and start it and allow the messages in this state to error out and then resubmit them:

3. Remove the modified Ack script by putting the original in:

if (
   StringUtils.equals(errorCode, 'BLK00001') ||
   StringUtils.equals(errorCode, 'BLK00004') ||
   StringUtils.equals(errorCode, 'BLK00005') ||
   StringUtils.equals(errorCode, 'BLK00008') ||
   StringUtils.equals(errorCode, 'BLK00009')
) {
   
   // throw send error (to cause retry)
   qie.throwSendError(
      'PIL returned "' + errorDescription + ' (' + errorCode + ')".  ' +
      'Retrying.'
   );
 

by brandon-w-8204 (34.1k points)
...