Get Credential Exception: Object reference not set to an instance of an object

Hi, I’m working on a project using Reframework and have created a emailCredentialAsset in the config file with the name of the email credential Asset I’ve saved on Orchestrator as its value.

So under Input of Get Credential activity, I’m having “Config(“emailCredentialAsset”).toString” and on output I have created two variables one for username and one for password.

But whenever I try to run the project, it always shows the error above. I have not publish this package on to Orchestrator yet, is this the problem?

If I don’t want to publish it on to Orchestrator just yet, how do I make the get Credential activity work while in Studio?

Hello, try “emailCredentialAsset” only, let me know how that goes

1 Like

Hello everyone, I’m facing the same problem while executing a project can anybody help me to resolve this error and the error is: Get-Credential: Object reference not set to an instance of an object.