[Solved] Firebase Leaderboard ‎

Hi, I followed the firebase leaderboard example and I have some problems. If I use add a document to firestore, it works. But if use write a document then it doesn’t work. I have just used the rule from eaxmple. Do I have to change anything in the rule?

Please describe the issue better than “it doesn’t work”.
Use the log option to get more details.