Mini Program reported an error in cloud init error

problem description

I wrote Mini Program on the first day. I just finished creating the project, and then I reported this mistake. What is the reason for this?
cloud init error: {errMsg: "operateWXData:fail invalid scope"}

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

Feb.18,2022

check whether Mini Program's cloud development is enabled successfully. If you want to use cloud development, you need to configure the environment when you wx.cloud.init

wx.cloud.init({
  env: 'test-x1dzi'
})

Database initialization problem. It is recommended to check the access permissions of the database

Menu