【发布时间】:2020-06-24 10:53:39
【问题描述】:
谁能帮我解决这个问题,我在 Forge 上创建了一个应用程序,并在此处找到的扳手示例中更新了 Client_ID 和 Client_Secret: https://github.com/akenson/da-wrench-config
我正在尝试通过将交互项目设置为启动项目来运行 Autodesk Forge - Wrench 示例应用程序。 当我运行应用程序并选择选项 2 - 上传数据集 我收到以下错误:
Running 'Upload data set'
Autodesk.Forge.Client.ApiException: Missing required parameter 'clientId' when calling TwoLeggedApi->Authenticate
at Autodesk.Forge.TwoLeggedApi.AuthenticateAsyncWithHttpInfo(String clientId, String clientSecret, String grantType, Scope[] scope)
at Autodesk.Forge.TwoLeggedApi.AuthenticateAsync(String clientId, String clientSecret, String grantType, Scope[] scope)
at Interaction.OAuthController.Get2LeggedTokenAsync(Scope[] scopes) in C:\Users\ian_w\Desktop\da-wrench-config-master\DaWrenchConfig\Interaction\Publisher.cs:line 344
at Interaction.OAuthController.GetInternalAsync() in C:\Users\ian_w\Desktop\da-wrench-config-master\DaWrenchConfig\Interaction\Publisher.cs:line 330
at Interaction.Publisher.UploadDataSetAsync() in C:\Users\ian_w\Desktop\da-wrench-config-master\DaWrenchConfig\Interaction\Publisher.cs:line 224
at Interaction.Program.RunCommand(Publisher publisher, String commandIndex) in C:\Users\ian_w\Desktop\da-wrench-config-master\DaWrenchConfig\Interaction\Program.cs:line 87
at Interaction.Program.RunLoop(Publisher publisher) in C:\Users\ian_w\Desktop\da-wrench-config-master\DaWrenchConfig\Interaction\Program.cs:line 75
at Interaction.Program.Main(String[] args) in C:\Users\ian_w\Desktop\da-wrench-config-master\DaWrenchConfig\Interaction\Program.cs:line 44
【问题讨论】:
标签: autodesk-forge