开发者社区> 问答> 正文

Can not find endpoint to access.

已解决

我在阅读“视频点播-客户端SDK-上传SDK-Java上传SDK”时,执行java的main函数,报错如下:
Invoke Remote Error,Msgnull
RequestId=null
VideoId=null
ErrorCode=SDK.InvalidRegionId
ErrorMessage=Can not find endpoint to access.

我只调用了testUploadVideo方法,该如何定位和解决?

展开
收起
1225803229786040 2018-08-21 10:02:48 1490 0
1 条回答
写回答
取消 提交回答
  • 采纳回答
    你的错误发生在这段代码中,即向服务端请求视频点播未获得请求ID,需要先获取请求ID才能进行后续上传动作

    根据出错代码,错误应该是因为RegionId不正确,请参考以下文档
    https://help.aliyun.com/knowledge_detail/59212.html
    https://help.aliyun.com/document_detail/66246.html?spm=a2c4g.11186623.4.5.K1fNJR

    2018-08-21 10:26:38
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Lies-And-Damn-Lies-Getting-Past-The-Hype-Of-Endpoint-Security-Solutions 立即下载
Customer Success Dashboard GoD 立即下载
低代码开发师(初级)实战教程 立即下载