VIP AuthHub - [Android] Authenticate API errors {“errorCode”:”8800302”, “errorMessage”:”Nonce not found with ID {0]”}
search cancel

VIP AuthHub - [Android] Authenticate API errors {“errorCode”:”8800302”, “errorMessage”:”Nonce not found with ID {0]”}

book

Article ID: 266074

calendar_today

Updated On:

Products

VIP Authentication Hub

Issue/Introduction

We’ve been seeing intermittent issues in Android login with strategic auth where the authenticate endpoint returns the following error:

{“errorCode”:”8800302”, “errorMessage”:”Nonce not found with ID {0]”}

 

 

Environment

OCT 06 Release

Resolution

below what is causing the authenticate API errors  “Nonce not found with ID {0}” :

The Android SDK  is using the Volley library for networking, unless an alternative policy is specified Volley has a DefaultRetryPolicy that sets timeout to 2.5 secs and includes 1 retry.

If the authenticate call took more than 2.5 secs then Volley will automatically fire off a retry request – given that nonceId can only be used once then we would receive a 400 error with message “Nonce not found with ID {0}”.

Future release for AuthHub will allow the option of overriding this value.

As a workaround :

you can override this behavior by creating a request class that extends AHBasicAPIRequest and using AuthCore setApiRequest method to use it instead.