How to solve the Invoke SHA1_GetHashCode workflow: Index (zero based) must be greater than or equal to zero and less than the size of the argument list?

Hello Team,

Kindly advise on how I can debug this error.
I’ve tried with the already available material but none has been of help.
Below is the screenshot of the error.

Best Regards,
Kakooza Allan Klaus

@Kakooza-Allan-Klaus

I guess one of the value you are passing here contains empty value. Can you please print all the values and then check once.

Run the process in Debug mode and check step by step.

1 Like

Thanks @lakshman for your response.
Let me try that one but in the mine time you can have a look at my xaml file please.
SHA1_GetHashCode.xaml (8.8 KB)

@Kakooza-Allan-Klaus
it should be {0}-{1}-{2} instead of {1}-{2}-{3}

image

1 Like

Why bro
Kindly explain?

string.Format("{0}-{1}-{2}",clientId,clientName,clientCountry)

the index starts at 0

0 = clientId
1 = clientName
2 = clientCountry

your original code is
string.Format("{1}-{2}-{3}",clientId,clientName,clientCountry)
1 = clientName
2=clientCountry
3= ??
thats why you’re getting this error

1 Like

Thanks man

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