首页 > 解决方案 > Still get error 'Operation was rejected because the system is not in a state required for the operation's execution' after creating firebase index

问题描述

I am trying to filter and order data together by where and orderBy function . I get this error 'Operation was rejected because the system is not in a state required for the operation's execution' then I created an index in firebase console and the problem still found .

screenshot of firebase console

标签: firebaseflutterdartgoogle-cloud-firestore

解决方案


The problem was that I was filtering data with array field and I left it's index "Ascending" in firebase console and it must be "Array" . It works .


推荐阅读