收藏
回答

小程序创建不了直播间报错 parameter startTime or endTime

https://developers.weixin.qq.com/miniprogram/dev/framework/liveplayer/studio-api.html

传入参数如下:

{"name":"测试直播房间1","coverImg":"mIZ6J141w3OWw5sOBwG3NRM06YzG_hD7O4vsKVi85Y3vSvcKEy7C_i6Rd_Q8y4YD","startTime":1600242560,"endTime":1600259960,"anchorName":"Elifen","anchorWechat":"XB3488737366","shareImg":"Zw2wycyrk-f0xFGfXDeLjBpLCGFbwlDivgGgkiWYfIHuSp54OEIUQUR54VNyuvOQ","feedsImg":"8khadeh7W2jafBR46UL4JF1nBQby7g_h1V-22suu02v2Xr62prUV-TSRUkjvlRYt","isFeedsPublic":1,"type":1,"screenType":0,"closeLike":0,"closeGoods":0,"closeComment":0,"closeReplay":1,"closeShare":0,"closeKf":0}

总是报错

{"errmsg":"parameter startTime or endTime is invalid rid: 5f61c129-6b91eff6-16f577bb","errcode":200002}

不知道是哪里的问题

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

1 个回答

  • JamesYan
    JamesYan
    2020-09-16

    startTime要在当前时间的10分钟后。检查一下再试试。

    2020-09-16
    有用 1
    回复 2
    • 徊忆
      徊忆
      2020-09-16
      嗯,我刚测试了一下,是10分钟,太卡点了,所以没成功,谢谢了
      2020-09-16
      回复
    • 徊忆
      徊忆
      2020-09-16
      我重新改成了11分钟,就可以了,不能太卡到10分钟
      2020-09-16
      回复
登录 后发表内容
问题标签