云端测试没问题,本地调试和小程序端报错?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.  

       


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM