question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Gspread share function does not send email notifications anymore

See original GitHub issue

Hi, i am using python 3.7.1 with gspread library version 3.1.0.

Until the 4th of October 2019, every time i shared a spreadsheet with a user, that user received an email notification. My share function is like this:

def share_spreadsheet_with_users(self, users_to_share_with):
    """

    :param users_to_share_with: the users with whom the spreadsheet will be shared
    :return:
    """
    for user in users_to_share_with:
        **self.spreadsheet.**share(user, perm_type='user', role='writer')

In the code above, the self.spreadsheet is a newly created spreadsheet and has type: gspread.Client

Ever since 4th October the user is only shared the spreadsheet (which can be seen in the google drive) but the user is NOT also notified on email. What could be the issue ?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:25 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Askani007commented, Dec 7, 2020

Yes Muskan-ai, me too facing with the same error

1reaction
rathegod1992commented, Jul 14, 2020

Thank you @burnash for the answer. The notifications started to work again today.

Regards, Sergiu.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parameters notify in share is not working (Gspread)
Hi I have a python code in google colab that create a google spreadsheet and share this file by don't send email this...
Read more >
User no longer receives notification emails when a doc is ...
It lasted about a month. Try going into your MyDrive, click the Settings Cog in the right-hand corner, click Settings, select Notifications and ......
Read more >
Authentication — gspread 5.3.0 documentation
Security credentials file and authorized credentials contain sensitive data. Do not share these files with others and treat them like private keys. If...
Read more >
Functions - Docassemble
The force_gather() function is very similar to force_ask() , except it affects the interview logic for all users of the interview, not just...
Read more >
Google Sheets basics: share, move and protect ... - Ablebits
There's no need to email the files or to guess what changes were made by your colleagues anymore. All you need to do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found