When I am trying to view model in Auto-desk Forge am getting Authentication error

可紊 提交于 2019-12-13 03:25:30

问题


I have translated the 3D model and trying to view model using Autodesk Forge then am getting Token 500 error

When I ran code in debug mode I got the error message as Autodesk.Forge.Client.ApiException:'Error Calling Authenticate: Unable to connect to the remote server'"

 TwoLeggedApi oauthApi = new TwoLeggedApi();
            dynamic bearer = await oauthApi.AuthenticateAsync(
                WebConfigurationManager.AppSettings["FORGE_CLIENT_ID"],
                WebConfigurationManager.AppSettings["FORGE_CLIENT_SECRET"],
                "client_credentials",
                new Scope[] { Scope.BucketCreate, Scope.DataCreate, Scope.DataWrite, Scope.DataRead });

enter image description here

来源:https://stackoverflow.com/questions/57069783/when-i-am-trying-to-view-model-in-auto-desk-forge-am-getting-authentication-erro

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!