OAuth2.0 library access issue

1,525 views
Skip to first unread message

Frederick C. Littlejohn

unread,
Aug 7, 2024, 11:56:02 AM8/7/24
to Google Apps Script Community
0

I'm working on a Google Cloud project that uses an Apps Script to move some documents from Drive to the Cloud Vision API. I'm running into an issue with OAuth2.0. I need to add the OAuth2.0 client library. According to Google, the library ID is: '1B7FSrk5Zi6L1-vF4O1C_GWC6U-a-ly_LwZ07_T8t-oL0_e-v-v-d'. The error I get is: 'Unable to look up library. Check the ID and access permissions and try again.'

I've searched and searched and can't find a solution to this. I am the owner of the projects on both ends. I've entered the rest of my OAuth2.0 criteria correctly (I think) into the script. I'm not sure if the problem is that the library ID is incorrect, but this is what Google Gemini gave me. I've tried some IDs provided by Chat GPT, which didn't work. I'm not sure where to start on the access permissions the error refers to.

I'm not a pro developer- just a doc trying to get a script working for my practice with a lot of assistance from Chat GPT! If I can get past this hurdle, the setup should work well. 

Matías DevOps

unread,
Aug 16, 2024, 3:53:39 PM8/16/24
to Google Apps Script Community
This is the correct ID for any project with OAuth2.0: 1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF FYI: https://github.com/googleworkspace/apps-script-oauth2
Reply all
Reply to author
Forward
0 new messages