Receiving Exception Error while trying to fetch credentials from Orchestgrator

Source: For each

Message: Object reference not set to an instance of an object.

Exception Type: System.NullReferenceException

I am currently working with Calculate Client Security Hash Assignment using RE Framework
I am novice and breaking my head in order to finish this one.
Hope someone can explain in detail how this is actually working… :frowning:


Have you specified the asset names in the config file? and also, have you created the asset with credential type in orchestrator?

Please note you should use the same name of the asset in the config file. Or else it will not be able to point to the right credential asset.

Hi Lahiru,

Yes i have added the asset in the config file and with type credential in orchestrator.
I am using the same name as given in the orchestrator but while trying to retrieve the credentials, it is throwing up message as credentials not given. I removed that if condition and tried to run the program, now i am getting the error as mention above.

Are the credential details provided in the Credential asset? the username and password?