小程序
小游戏
企业微信
微信支付
扫描小程序码分享
例如阿里云的OSS 域名是:https://semir-live.oss-cn-hangzhou.aliyuncs.com
通过https://api.weixin.qq.com/wxa/modify_domain 去更新服务器域名时,会返回这个域名是失败的 invalid_uploaddomain 返回失败
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
你好,请提供代调用接口报错rid信息
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
{
"errcode": 0,
"errmsg": "ok",
"requestdomain": [
"https://***"
],
"wsrequestdomain": [
"wss://***"
"uploaddomain": [
"https:/***"
"downloaddomain": [
"udpdomain": [
"udp://***"
"tcpdomain": [
"tcp://***"
"invalid_requestdomain": [],
"invalid_wsrequestdomain": [],
"invalid_uploaddomain": [
"https://semir-live.oss-cn-hangzhou.aliyuncs.com"
"invalid_downloaddomain": [
"invalid_udpdomain": [],
"invalid_tcpdomain": [],
"no_icp_domain": []
}
成功的域名隐藏了,失败的域名贴上了
我这里也碰到同样的问题,第三方托管给我们,我们调用接口设置下载域名返回域名无效。但是直接访问该域名没有问题。返回结果如下: { "errcode": 0, "errmsg": "ok", "requestdomain": [ "https:\/\/***", ], "wsrequestdomain": [ "wss:\/\/***" ], "uploaddomain": [ "https:\/\/***", ], "downloaddomain": [ "https:\/\/***", ], "udpdomain": [ ], "tcpdomain": [ ], "invalid_requestdomain": [ ], "invalid_wsrequestdomain": [ ], "invalid_uploaddomain": [ ], "invalid_downloaddomain": [ "https:\/\/cos1.youxin.cloud" ], "invalid_udpdomain": [ ], "invalid_tcpdomain": [ ], "no_icp_domain": [ ]
直接访问该域名没有问题。各位有碰到吗。
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
你好,请提供代调用接口报错rid信息
{
"errcode": 0,
"errmsg": "ok",
"requestdomain": [
"https://***"
],
"wsrequestdomain": [
"wss://***"
],
"uploaddomain": [
"https:/***"
],
"downloaddomain": [
"https://***"
],
"udpdomain": [
"udp://***"
],
"tcpdomain": [
"tcp://***"
],
"invalid_requestdomain": [],
"invalid_wsrequestdomain": [],
"invalid_uploaddomain": [
"https://semir-live.oss-cn-hangzhou.aliyuncs.com"
],
"invalid_downloaddomain": [
"https://semir-live.oss-cn-hangzhou.aliyuncs.com"
],
"invalid_udpdomain": [],
"invalid_tcpdomain": [],
"no_icp_domain": []
}
成功的域名隐藏了,失败的域名贴上了
我这里也碰到同样的问题,第三方托管给我们,我们调用接口设置下载域名返回域名无效。但是直接访问该域名没有问题。返回结果如下: { "errcode": 0, "errmsg": "ok", "requestdomain": [ "https:\/\/***", ], "wsrequestdomain": [ "wss:\/\/***" ], "uploaddomain": [ "https:\/\/***", ], "downloaddomain": [ "https:\/\/***", ], "udpdomain": [ ], "tcpdomain": [ ], "invalid_requestdomain": [ ], "invalid_wsrequestdomain": [ ], "invalid_uploaddomain": [ ], "invalid_downloaddomain": [ "https:\/\/cos1.youxin.cloud" ], "invalid_udpdomain": [ ], "invalid_tcpdomain": [ ], "no_icp_domain": [ ]
}
直接访问该域名没有问题。各位有碰到吗。