Skip to content
Advertisement

Autodesk Design Automation “Value cannot be null. (Parameter ‘ForgeConfiguration.ClientId’)”

I´ve downloaded the Forge Design Automation sample from the following link:

https://learnforge.autodesk.io/#/tutorials/modifymodels

But the downloable code example is not working fine. When any async method who involves the DesignAutomation API is called I get -> Value cannot be null. (Parameter ‘ForgeConfiguration.ClientId’). So, I would like to know how it works and how I can set the ClientId in the ForgeConfiguration class or else if I making something else wrong. I attach a fragment of code where I get the error.

JavaScript

And the call of the method:

JavaScript

}

Advertisement

Answer

Did you forget to set the Forge App Keys in the Environment Variables of your project, check the page at https://learnforge.autodesk.io/#/environment/setup/netcore_da

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement