Search code examples
androidfirebasegoogle-cloud-messaginggoogle-play-integrity-apisafetynet-api

IntegrityErrorCode with Error Code -8 in Play Integrity


I'm facing an issue with Play Integrity in my Android application. Specifically, I'm receiving an IntegrityErrorCode with the error code -8 and I'm struggling to find detailed information about what this error code signifies.

I've checked the Play Integrity documentation, but it doesn't provide specific details on each error code.

I was expecting get result code 0. However, I'm still facing the IntegrityErrorCode -8 error. Can someone provide insights or solutions on how to handle this issue?


Solution

  • The value -8 for IntegrityErrorCode is the error TOO_MANY_REQUESTS.

    The suggested mitigations are:

    1. Request a quota increase
    2. Implement a retry strategy with an incremental backoff