How do I get around HttpError 403 Insufficient Permission? (gmail api, python)

后端 未结 6 2143
栀梦
栀梦 2020-12-03 05:02

I keep getting the following error when I execute my code:

An error occurred: 

        
6条回答
  •  半阙折子戏
    2020-12-03 05:26

    Gmail API has these scopes:

    For sending emails, https://www.googleapis.com/auth/gmail.send is needed or full access https://mail.google.com/.

    The scopes taken from here.

提交回复
热议问题