通过API快速创建的小程序设置服务器域名,一直返回85017错误
发布于 6 年前 作者 gang04 9023 次浏览 来自 官方Issues

https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/Server_Address_Configuration.html

下面是POST的内容

{"action":"add","requestdomain":["https://www.xxxxxxx.com"],"wsrequestdomain":["wss://www.xxxxxxx.com"],"uploaddomain":["https://www.xxxxxxx.com"],"downloaddomain":["https://www.xxxxxxx.com"]}

这是返回的结果

设置服务器域名:

{"errcode":85017,"errmsg":"no domain to modify after filtered, please confirm the domain has been set in miniprogram or open hint: [D0RA8a08391091]"}

action 无论是add 还是set返回的结果都是一样的,但是 设置业务域名 可以设置成功

另外我想咨询下,我通过 这个API

https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/Fast_Registration_Interface_document.html

生成的小程序是否需要设置服务域名这一步

https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/Server_Address_Configuration.html

3 回复

需要。平台配置好运营。

快速注册后,需要完善资料,然后设置业务域名和服务器域名,最后才是提交代码。

你好,85017是指没有新增域名,请确认小程序已经添加了域名或该域名是否没有在第三方平台添加。

可参考:https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/Mini_Programs/Server_Address_Configuration.html#%E8%BF%94%E5%9B%9E%E7%A0%81%E8%AF%B4%E6%98%8E

重复发帖啦!!

回到顶部