Home > Article > WeChat Applet > How to solve the error code -1 received by the applet
How to solve the error code -1 received by the applet
If you are requesting data in the cloud database, it is a permission issue
Recommended learning: Small program development
The solution is as follows:
Check "Readable by all users, only the creator Read and write”
#What if you need to make all users readable and writable?
The answer is to create a cloud function and call the cloud function to write to the database, because the cloud function has the creator's permissions!
PHP Chinese website, a large number of website construction tutorials, welcome to learn!
The above is the detailed content of How to solve the error code -1 received by the applet. For more information, please follow other related articles on the PHP Chinese website!