技术文章 - CS409589
在 Windchill Enterprise System Integration 中使用 ESIBlobUtility.writeTextToAzureBlob API 将上下文写入 Azure Blob 存储失败
已修改: 24-Jan-2024
适用于
- Windchill Enterprise Systems Integration 12.1
说明
- 使用ESIBlobUtility.writeTextToAzureBlob(containerName, "Hello") 将上下文写入 Azure Blob 存储;失败,显示“签名不匹配”的错误消息
- 无法验证支持的 API writeTextToAzureBlob ,方法服务器报告以下错误:
wt.system.err wcadmin - (wt.fv.fvResource/17) com.ptc.windchill.objectstorage.azureblob.exception.BlobFileCanNotBeStoredException: Cannot save: Folder is probably full or the write permissions are denied wt.system.err wcadmin - Nested exception is: com.azure.storage.blob.models.BlobStorageException: If you are using a StorageSharedKeyCredential, and the server returned an error message that says 'Signature did not match', you can compare the string to sign with the one generated by the SDK. To log the string to sign, pass in the context key value pair 'Azure-Storage-Log-String-To-Sign': true to the appropriate method call. wt.system.err wcadmin - If you are using a SAS token, and the server returned an error message that says 'Signature did not match', you can compare the string to sign with the one generated by the SDK. To log the string to sign, pass in the context key value pair 'Azure-Storage-Log-String-To-Sign': true to the appropriate generateSas method call. wt.system.err wcadmin - Please remember to disable 'Azure-Storage-Log-String-To-Sign' before going to production as this string can potentially contain PII. wt.system.err wcadmin - Status code 403, "<?xml version="1.0" encoding="utf-8"?><Error><Code> AuthorizationPermissionMismatch </Code><Message>This request is not authorized to perform this operation using this permission.
这是文章 409589 的 PDF 版本,可能已过期。最新版本 CS409589