我已经翻译了3D模型并尝试使用Autodesk Forge查看模型,然后出现Token 500错误
当我在调试模式下运行代码时,得到的错误消息为Autodesk.Forge.Client.ApiException:“调用身份验证时出错:无法连接到远程服务器””
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 });