googleworkspace / apps-script-oauth2

An OAuth2 library for Google Apps Script.
https://developers.google.com/apps-script/
Apache License 2.0
1.56k stars 429 forks source link

All methods fail with server error with Chrome V8 runtime #267

Closed SeanYang66 closed 3 years ago

SeanYang66 commented 3 years ago

Hi I'm trying to use this library and have met a few issues. One of them is that all my methods fail with an error "We're sorry, a server error occurred while reading from storage. Error code NOT_FOUND." when I'm using Chrome V8 runtime. They do execute (although I'm still battling other issues) when I turn V8 off.

I've tried sign off multiple accounts other than the one owning the sheet, as well as using incognito, but still got the same error.

erickoledadevrel commented 3 years ago

There are some reports of people having trouble using this library with V8, but not with that error message. Can you determine if the library is loaded at all? What version are you using?

SeanYang66 commented 3 years ago

Okay I think I installed an old version. I've now copied the source code to my project and it works in V8 as well. Thanks for pointing that out.