I am developing an unpacked local chrome extension with manifest version 2 that uses the chrome.identity API which currently works on my main Chrome Profile, and I'd also like to install it on my second Chrome Profile.
However, i am getting this error only on the Second Profile: Unchecked runtime.lastError: OAuth2 request failed: Service responded with error: 'internal server error
, which normally means that the 'key' field in manifest.json is not set correctly (thrown by chrome.identity API).
The thing is, i've followed the exact same steps on this secondary profile as I did on my main profile, but it only gives the error on the secondary profile:
chrome://extensions
page.chrome://version
in the search bar and navigated to the "Profile Path" listed there.What I've also tried:
Additional info:
I figured out what was the issue: the new profile wasn't registered as a trusted tester on Google Cloud.
Steps to fix: