I found a fix online:
Go to https://console.developers.google.com/
On the top left beside the words “Google APIs” click the project dropdown on the right
Ensure that your correct project is selected
Click “OAuth consent screen” on the left side of the screen (below “Credentials”)
If you have not created a consent screen, do that first
Under “Test users” there is a button called “+ ADD USERS”
Type the email of the account you will be testing with, press enter, then click save.
It should work now!`