首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >更新函数代码Java SDK发生未知错误?

更新函数代码Java SDK发生未知错误?

提问于 2018-10-31 09:26:36
回答 1关注 0查看 789

通过Java SDK更新已有的函数(UpdateFunctionCode API)。

1. 直接上传jar,发生签名错误。

[TencentCloudSDKException]message:AuthFailure.SignatureFailure-The provided credentials could not be validated because of exceeding request size limit, please use new signature method `TC3-HMAC-SHA256`. requestId:bd6e368d-c5a8-4b31-841a-78f1e98ed162

我用的是ClientProfile.SIGN_SHA256,TC3-HMAC-SHA256这种算法还没有实现吧?

2. 改为通过COS上传更新。

不管ObjectName是短的名称xxx还是整个路径https://bucket.cos.region.mycloud.com/xxx.都会报错:

[TencentCloudSDKException]message:InternalError-An internal error has occurred. Retry your request, but if the problem persists, contact us. requestId:80b32195-4ecd-4bbd-a9d8-d1ee8e4e3550

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档