0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Firestore でerror

Posted at

エラー内容

Listen for query at todos failed: Missing or insufficient permissions.

解決方法

ルールを変更する。ただ、セキュリティー的に良くないから、本番の時は、認証をした方がいいらしい。また後で調べる。

参考URL:
https://stackoverflow.com/questions/46590155/firestore-permission-denied-missing-or-insufficient-permissions

rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      // ここのif falseをif trueにする
      allow read, write: if false;
    }
  }
}

Screen Shot 2022-11-19 at 18.00.57.png

Screen Shot 2022-11-19 at 18.01.44.png

とりあえず、メモ書き

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?