Error in Advance Level 3 - Calculate Client Security Hash

Error message from the Output panel (in red):
Invoke System1_NavigateTo_WIDetails workflow: The given key was not present in the dictionary.

The process of opening ACME 1 system and SHA1 is repeating after data scraping, the site keeps on opening N number of times until the we click on stop manually.

Can any one advise me on how to fix this error ?

Thanks in advance.

The object does not have the key that your workflow is referring to.

Make sure that the object is not empty. If it isn’t empty, then check if the key that it is trying to refer to is existing.

thanks

2 Likes

Hi Andy, Thanks for the quick reply. I was able to fix the issue and the process completed, but with 3 more different errors in the output.

  1. Go Back: Error HRESULT E_FAIL has been returned from a call to a COM component.

  2. Invoke SHA1Online_GetHashCode workflow: Error HRESULT E_FAIL has been returned from a call to a COM component.

  3. Assign TransactionID: Index was outside the bounds of the array.

image

But surprisingly all the WI5 items status shows completed.

Please assists to fix these.

Thanks in advance.

The Index error is because the transaction num is 1 based and the WIList collection is 0 based.

It’s processing all items and running into this error when the transaction number exceeds the last position in the WIList collection.

You may have to look at the expression and change it to:

WIList(TransactionNumber-1)

Thanks

1 Like

Hi vinay,
Can you tell me how did you solve that previous error

Check your config file

1 Like

Hi sulakshmi, just followed AndyMenon’s reply. Sorry for the late reply.

Thank you @vinay8584 !
Kindly mark answer as solution so that other members may find them quickly!

Best,
Andy

Could you explain exactly what you did to fix this? I’ve been unable to resolve the exact same bug in my automation, at the exact same spot, with the exact same behaviors. Everything looks fine in my config file, and I’ve been back and forth over the supporting methods and inputs.

It’s been a stressful week trying to track this down.

Hi @tnasko, please see my response dated Oct 2, up this chain in this forum thread.

thanks,
Andy

You answered his questions after he said “I fixed it” but I specifically need to understand why I’m getting this:
Invoke System1_NavigateTo_WIDetails workflow: The given key was not present in the dictionary.

Because My config file can feed data just fine, and I feel like I’ve checked everything else.

check your invoke workflow activity for that activity

for this activity, from what I remember the only dictionary that you are using is for your config file. kindly check if the items are existing on your config.xlsx :smiley:

Thank you all for the help and feedback. I appreciate the expertise. I can’t understand how it could make a call for the address successfully elsewhere in the automation but not here, given that I’m using the same arguments. Removing the argument that makes the config call did fix the issue, though.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.