收藏
回答

modify_domain接口调用返回85301,自检没发现问题,帮忙看下怎么回事?

 请求,时间2021-11-16 09:44:10:096
"body":"{\"requestdomain\":[\"https://a.iboxpay.com\"],\"downloaddomain\":[\"https://b.aliyuncs.com\"],\"wsrequestdomain\":[\"https://c-b.iboxpay.com\"],\"action\":\"add\",\"uploaddomain\":[\"https://d.iboxpay.com\"]}"
返回
{"errcode":85301,"errmsg":"no domain to modify after filtered, please confirm the domain has been set in miniprogram or open, and follows the rule of domains rid: 61930ce9-4e2605ba-0fb2cd5d","requestdomain":[],"wsrequestdomain":[],"uploaddomain":[],"downloaddomain":[],"udpdomain":[],"tcpdomain":[],"invalid_requestdomain":[],"invalid_wsrequestdomain":["wss:\/\/https:\/\/c-b.iboxpay.com"],"invalid_uploaddomain":[],"invalid_downloaddomain":[],"invalid_udpdomain":[],"invalid_tcpdomain":[],"no_icp_domain":[]}


域名哪里就不合法了呢,域名和代码都一年多没有修改怎么之前没是现在有事了,上传了这么多域名,格式都一样的,又为啥偏偏只有一个不合法
最后一次编辑于  2021-11-16
回答关注问题邀请回答
收藏

2 个回答

  • 小程序技术助手007
    小程序技术助手007
    2021-11-16

    websocket域名协议头

    2021-11-16
    有用 1
    回复 2
    • eviai.
      eviai.
      2021-11-16
      为啥同样的请求在测试用的三方平台可以请求成功呢
      2021-11-16
      回复
    • eviai.
      eviai.
      2021-11-16
      {"errcode":0,"errmsg":"ok","requestdomain":["https:\/\/a.iboxpay.com","https:\/\/b.iboxpay.com"],"wsrequestdomain":[],"uploaddomain":["https:\/\/c.iboxpay.com"],"downloaddomain":[],"udpdomain":[],"tcpdomain":[],"invalid_requestdomain":[],"invalid_wsrequestdomain":["wss:\/\/https:\/\/c.iboxpay.com"],"invalid_uploaddomain":[],"invalid_downloaddomain":["https:\/\/tc.aliyuncs.com"],"invalid_udpdomain":[],"invalid_tcpdomain":[],"no_icp_domain":[]}


      这里返回errcode是0,怎么还不一致呢
      2021-11-16
      回复
  • 司昊[我宝是牙医]
    司昊[我宝是牙医]
    2023-04-03

    {"action": "set","downloaddomain": ["https://client-api.greenleafgo.com"],"requestdomain": ["https://client-api.greenleafgo.com"],"udpdomain": [],"uploaddomain": ["https://client-api.greenleafgo.com"],"wsrequestdomain": [],"tcpdomain":[]}

    请求参数是这个,域名我在其他小程序中设置过,但是还是提示不合法

    2023-04-03
    有用
    回复
登录 后发表内容