我正在尝试使用 SDK for .Net 上传文件,使用此示例: https ://forge.autodesk.com/blog/c-resumable-upload-file-forge-sdk
如果我直接使用 REST API,我可以毫无问题地创建存储桶并上传文件,使用没有块的直接上传。如果我使用 SDK 方法,我总是得到
Message: "An error has occurred."
ExceptionMessage: "Error calling UploadChunk: {"developerMessage":"ACM check failed, user or calling service does not have access to perform this operation","userMessage":"","errorCode":"AUTH-012","more info":"http://developer.api.autodesk.com/documentation/v1/errors/AUTH-012"}"
ExceptionType: "Autodesk.Forge.Client.ApiException"
StackTrace: " at Autodesk.Forge.ObjectsApi.UploadChunkWithHttpInfo(String bucketKey, String objectName, Nullable`1 contentLength, String contentRange, String sessionId, Stream body, String contentDisposition, String ifMatch)
我已经验证桶密钥是相同的。我正在使用 1.4.0 版本的 SDK,有一个 1.5.1 Alpha 版本可用,我不想使用它。