收藏
回答

开放平台设置小程序服务器域名,状态码85301?

开放平台设置了多个服务器域名,如a.xx.com;b.xx.com均不带https,然后调用modify_domain方法,设置小程序服务器域名

{
  "action": "add",
  "requestdomain": ["https://a.xx.com", "https://b.xx.com"],
  "wsrequestdomain": ["wss://a.xx.com"],
  "uploaddomain": ["https://a.xx.com", "https://b.xx.com"],
  "downloaddomain": ["https://a.xx.com", "https://b.xx.com"],
  "udpdomain": [],
  "tcpdomain": []
} 


返回结果是:

错误代码:85301,no domain to modify after filtered, please confirm the domain has been set in miniprogram or open, and follows the rule of domains

查阅文档,85301错误是:存在 “不符合域名规则的域名”导致无修改。

该如何处理?我的设置哪里有问题?

回答关注问题邀请回答
收藏

1 个回答

  • 智能回答 智能回答 本次回答由AI生成
    2025-11-20
    有用
登录 后发表内容