Home >WeChat Applet >Mini Program Development >How to solve the error code -1 received by the applet

How to solve the error code -1 received by the applet

angryTom
angryTomOriginal
2020-03-21 15:57:226231browse

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”

How to solve the error code -1 received by the applet

#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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn