REPOST this question, just now was closed due to duplicate to the below question but that question is different to the questiont that I want to ask. Error 'Service has been disabled for this account' while running identity.getAuthToken for chrome extension
I am building a chrome extension that using the Google API
When I am trying to run this code
chrome.identity.getAuthToken({interactive :true},function(auth_token)
{
console.log(auth_token)
})
I got this error message in my console.
Unchecked runtime.lastError: OAuth2 request failed: Connection failed (-2).
May I know what is this error message's meaning?
I can't find any documentation regards to this error.