云端测试没问题,本地调试和小程序端报错?502005 database collection not exists | errMsg: [ResourceNotFound] Db or Table not exist. Please check your request, but if the problem cannot be solved, contact us.;

 

    1. 环境问题,有两个环境
      1.  https://developers.weixin.qq.com/community/develop/doc/000aaacbfa4c684f6a6ac888f56400?highLine=Db%2520or%2520Table%2520not%2520exist

     

  1. 查了好多博客都是第一个问题,但都没解决我的问题,原来是数据库名字错了:
    1. 你好,建议你检查下云开发控制台数据库下的集合名称和你代码里写入的集合名称(wx.cloud.database().collection(""))是否一致。
    2.   

       

       

    3.  

       

posted @ 2021-01-03 12:52  叶月廿柒  阅读(2462)  评论(0编辑  收藏  举报