firestore: UNAUTHENTICATED: Failed to retrieve auth metadata with error

The Full error msg: UNAUTHENTICATED: Failed to retrieve auth metadata with error: reason: Client network socket disconnected before secure TLS connection was established.

I created a watcher collection where on create documents in the watcher, it will delete other documents and finally will delete the document itself inside watcher but it manage to delete like 450 out of 500 documents, the rest of the documents can’t be deleted. I have checked the documents, there are in the correct format. I was wondering if there is a issue with Firebase limitation