Skip to content

SERVER_INVALID_REQUEST

Jinxu Jia edited this page May 17, 2018 · 3 revisions

ERR_CACHE_MISS

com.microsoft.aad.adal.AuthenticationException: Error Code:-1 net::ERR_CACHE_MISS

This is not an ADAL or WebView error, and it is the default behavior of the WebView when navigating back and content was not revalidated and retrieved from the cache. If the auth flow in the WebView navigates the user to an MFA page, and the user is unable to answer the MFA prompt, subsequently the user hits the back button, this will lead to an ERR_CACHE_MISS as the page is attempted to be loaded from the cache.

The behavior is controlled by how the webpage is written, we tried to fix this and that ended up regressing other mfa webpages. Since the default behavior we have is exactly the same as user would hit with a browser, we decided not to pursue a fix.

Clone this wiki locally