【发布时间】:2021-01-06 11:28:01
【问题描述】:
我正在尝试重新创建 forge-customproperty-revit。
我正在访问 A360 上的模型,查看器加载了所选模型,然后一分钟后出现此错误:
Exception has occurred: CLR/Autodesk.Forge.Client.ApiException
An exception of type 'Autodesk.Forge.Client.ApiException' occurred in System.Private.CoreLib.dll but was not handled in user code: 'Error calling CreateSignedResource: {"reason":"Object not found"}'
at Autodesk.Forge.ObjectsApi.<CreateSignedResourceAsyncWithHttpInfo>d__21.MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at forgeSample.Controllers.DesignAutomationController.<>c__DisplayClass4_0.<<OnReadyExtractStyles>b__0>d.MoveNext() in /home/luka/Documents/Coding/NetCore/forge-customproperty-revit/webapp/Controllers/DesignAutomationController.cs:line 79
DesignAutomationController.cs 第 79 行发生异常:
dynamic signedUrl = await bjects.CreateSignedResourceAsyncWithHttpInfo(Utils.BucketName, fileName, new PostBucketsSigned(10), "read");
总的来说,我对 Forge 和 Web API 还是很陌生,所以我什至无法猜测问题出在哪里。
谢谢,
卢卡
【问题讨论】:
标签: c# autodesk-forge autodesk-viewer autodesk-designautomation