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

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

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

An error occurred: 

        
6条回答
  •  醉酒成梦
    2020-12-03 05:44

    Solved it by changing the SCOPES line to:

    SCOPES = 'https://mail.google.com/'
    

    Email sending works perfectly

提交回复
热议问题