Loading asset UiDemoCredential_ReFramework failed: Invalid asset type was specified for asset '{0}

Hi Guys,

I have been facing an issue on when I try to work on UiDemo exercise.

I created an asset with the name UiDemoCredential_ReFramework.

I gave this asset name in the Config file (Assets sheet) and I am trying to get username and password using in_config but I am facing this error.

Credential type is given as Credential in the Orchestrator too.

Please share your workflow.

Hi Vivek,

I am a new user and wont be able to attach any documents here.
I was actually trying to work on UiDemo example from Advanced training.

In your config excel you should add two col one is name -> which you access from Uipath studio and value -> asset name
While you extracing you should pass argument as config(“name(name you specified in config file)”).ToString to get asset activity in input parameter

Hi @pippug,
I faced the same while I was going through the same example. The solution to this is as follows…

In the config file assets tab, you should only mention assets which are not in the type credential. All the credential type assets should go into the settings sheet which is the very first sheet of the config.

The reason to do that is, in the Framework, it uses a get asset activity to read assets that are mentioned in the asset sheet. Since credential is a asset that should be read using get credential activity, it throws an error there…

So removing the credential asset from the asset sheet and adding it to the settings page should work fine for you…

Let know how it worked out for you…

9 Likes

Thanks @Lahiru.Fernando . I was facing the same issue and was searching forum for the answer.
Came across you solution and it worked.
Thanks again.

2 Likes

You are the man Lahiru! I was facing the same issue! It worked

2 Likes