雲端測試沒問題,本地調試和小程序端報錯?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