title: Firebase Analytics Error - Operation failed - Error code 2
body: <p>I have integrated firebase analytics with my android app. Now firebase data is transferred to bigquery for daily usage.</p>
  
  <p>In Bigquery, I can see the sporadic occurrence of this firebase autogenerated event with event_dim_name='error' and inside event_dim_params_key, firebase_event_origin has value 'auto'  and firebase_error has int value 2. </p>
  
  <p>I have tried searching in Firebase doc to see that might be the reason behind this sporadically occurring error.
  Official doc: <a href="https://firebase.google.com/docs/reference/node/firebase.FirebaseError#code" rel="nofollow noreferrer">https://firebase.google.com/docs/reference/node/firebase.FirebaseError#code</a>
  This hardly gave any useful insight.</p>
  
  <p>Old firebase doc: <a href="https://www.firebase.com/docs/java-api/javadoc/com/firebase/client/FirebaseError.html#OPERATION_FAILED" rel="nofollow noreferrer">https://www.firebase.com/docs/java-api/javadoc/com/firebase/client/FirebaseError.html#OPERATION_FAILED</a></p>
  
  <p>Says the operation failed 
  (after cross checking possible error code value from here <a href="https://www.firebase.com/docs/java-api/javadoc/constant-values.html#com.firebase.client.FirebaseError.OPERATION_FAILED" rel="nofollow noreferrer">https://www.firebase.com/docs/java-api/javadoc/constant-values.html#com.firebase.client.FirebaseError.OPERATION_FAILED</a>)</p>
  
  <p>Can anybody guide me as to how to find the reason behind the failure ?</p>
  
  <p>PS: I have tried observing the terminal log of firebase. But this error is hard to generate. I got the error events from production.</p>