Google Meet Attendance Tracker
Play Video

Table of Contents

1. Google Meet Attendance Reporter Overview

A detailed overview of Google Meet Attendance Reporter including features & limitations.

Jump to section

3. Google Meet Attendance Reporter Setup

Easily Setup Google Meet Attendance Reporter solution with step by step instructions.

Jump to section

2. How does Google Meet Attendance Report work?

Understand Google Meet Attendance Reporting Solution and how it offers self service.

Jump to section

4. FAQs

Frequently asked questions about Google Meet Attendance Reporter.

Jump to section

1. Google Meet Attendance Reporter Overview

A detailed overview of Google Meet Attendance Reporter including features & limitations.

Jump to section

2. How does Google Meet Attendance Report work?

Understand Google Meet Attendance Reporting Solution and how it offers self service.

Jump to section

3. Google Meet Attendance Reporter Setup

Easily Setup Google Meet Attendance Reporter solution with step by step instructions.

Jump to section

4. FAQs

Frequently asked questions about Google Meet Attendance Reporter.

Jump to section

Google Meet Attendance Reporter Overview

The New Normal

US workers who work from home multiple days per week

As per Lifesize, “94% of businesses say video conferencing increases productivity”.

During this tough time, video meetings have become even more integral part of our work life.

Google Meet Attendance Reporting Solution Overview:

If you use G Suite (or G Suite Essentials), you would be leveraging Google Meet to organize your video meetings and live streaming to compliment  the new normal.

If your meeting had more than a few attendees, you might want to know who attended your Google Meeting (or live steam) and for how long.

Though Google Meet records attendance but this information is provided in Google Admin Console, and one needs G Suite Admin access to see it, which is not scalable as you don’t want to give G Suite admin access to all your users.

So I thought to create a self service solution where your G Suite users (without admin access) can simply fill up a Google Form, and instantly get their Google Meet attendance report.

Every solution comes with a certain set of features and limitations, and this meet attendance solution is no different, so before I show you how the solution works, and how you easily set it up for your G Suite users, let me quickly tell you its features and limitations.

Google Meet Attendance Reporting Solution Features:

1. Self Service : This Google Meet Attendance tracking solution provides your G Suite users a self service option where they simply fill up a form to instantly get attendance report, without any manual action required from G Suite Admins.

2. Cost Effective : As this solution takes advantage of G Suite native applications and services, it does not cost you anything after the initial setup. Though you can run this solution with free Cloud Identity license too (with some limitations), I would recommend you to use a dedicated G Suite Basic license for it (explained later in this post) costing you just $6/month to run this solution.

3. No Learning Curve : Your G Suite end users would simply need to fill up a Google Form providing Google Meet meeting code, and meeting type (e.g regular meeting or live stream), no special learning is required for end users to leverage this solution.

4. No Data Sharing with 3rd party : This solution is built with using Google native applications and services (e.g Google Sites, Form, Gmail, Apps Script) which you can run within your own G Suite environment. You do not need to provide any 3rd party application or developer access to your G Suite or Google Meet data.

5. Available only to Meeting organizers : This solution does check and provide Google
Meet meeting attendance report only to meeting organizer and restrict reporting to unauthorized users (e.g participants).

6. Logging & Reporting : This solution leverages Google Apps Script which provides execution reports and also notify you in case of any issues. It also uses a dedicated G Suite account to ensure reporting and logging can be separate from other G Suite Administration.

Google Meet Reporting Solution Limitations:

As this Google Meet Attendance reporting solution leverages Google Apps Script services, there are some quotas which should be kept in mind :

(i) Gmail mail sending quota of up to 2,000 emails per day if you use G Suite.

(ii) If you use G Suite Essentials which does not offer Gmail, you may leverage Apps Script’s MailApp service where quota is 1500 emails per day.

(iii) Google Document creation quota of 1500 documents per day.

Overcome Limitations:

Most of the meetings are small in size (e.g ~5 people) and their organizers might not need attendance report for such meetings. Usually organizers who organize either large meetings OR Live Streams (available in G Suite Enterprise plan) would need attendance report.

This solution can serve up to 1,500 meeting attendance requests everyday, however with some tweaks in this readymade provided solution, you can easily scale it to serve more number of requests (e.g using 3rd party email sender API like Sendgrid to over come MailApp or Gmail emails per day limit).

Now, let me tell you in details how this solution works (for the end users), and how G Suite Admins can set it in just a few minutes.

How does Meet Attendance Reporter work?

Step 1

Google Form Submission

User submits a Google Form (preferably embedded in Google Site) to provide meeting code.

Step 2

Reports API Call

Google Apps script calls Reports API to get meeting details for a given meeting code and creates attendance report.

Step 3

Attendance Report Emailed

User instantly gets an email with a Google doc link which includes meeting attendees details.

Detailed Overview of the Solution

Our Google Meeting attendance solution leverages a dedicated G Suite account with delegated admin access + Google Sites + Google Form + Google Apps Script,  this is how it works behind the scenes :

Notes : 
1. You should be a G Suite Administrator to make this solution to work in your G Suite domain.
Step by step instructions (and video) are provided in this blog post including the script that you can simply copy and paste.

1. Dedicated G Suite Account :

(1.1) We will create a dedicated G Suite account + assign this account a delegated administration role, so it can use Reports API.

(1.2) This dedicated account would run the script (e.g call Reports API) and send email to requestor with meeting attendance report.

2. Google Form : 

(i) We will create a Google Form which would ask users to provide their Google Meeting code and Meeting type (e.g whether it was a regular google meeting or live stream).

(ii) We will restrict this Google Form to our G Suite organization, so only users who are in our G Suite tenant can fill it.

(iii) Ideally for privacy reasons, we should only be providing attendance report to the meeting organizers, for that purpose, we will collect Form filler’s email address to check whether he/she is the meeting organizer or requested meeting or not.

(iv) We would send the requestor an email automatically (and instantly) after filling up the form with Google doc link, which has their Google Meeting attendance report.

3. Google Apps Script with Trigger :

(i) Our Google Apps script would listen to the Form submission (based on apps script trigger), read the input values (e.g meeting code, meeting type, requestor email id).

(ii) Our script would then call G Suite Reports API (with either meeting or live stream event) with the meeting code to get meeting details.

(iii) Our script will parse the required information from the API response (e.g meeting attendee email address and attendance duration) –> Create a new Google document –> insert a table –> and populate this table with Google Meet attendance data.

(iv) Our script would check whether the requestor is indeed this meeting’s organizer or not. we’ll compare the form filler’s email address with the organizer email in API response).

(v) Our script would send an email to requestor with a Google doc link (which has meeting attendance details) if the requestor is meeting organizer, otherwise we’ll send a sorry email.

(vi) Our script would update the status in Google sheet (e.g “report sent”), so that we won’t process this request again and only work on new form submissions. 

4. Google Site :

(i) Though this is optional, but you may consider embedding your Google Form in an internal Google Site where your users can go and fill it up to get Google Meet attendance. 

Google Meet Attendance Reporter Setup

dedicated-admin-account-for-reports-api Step 1

Dedicated Admin Account

Let us first create a dedicated G Suite account and assign it delegated Admin permission to read from Reports API

See Instructions

As you now understand our Google Meet attendance solution, let me show you how you can easily set it up within a few minutes.

— Let us create a new dedicated account which we would use to run the solution script.
— I would call it but you may name it whatever you want.

1. Create a new G Suite User

— We would also be using this account to send attendance report to requestors, though Apps Script offers “MailApp” service which can help you send up to 1500 emails a day without a G Suite license (e.g Cloud Identity free).

However, I would go with a dedicated G Suite license as it gives me flexibility to send up to 3000 emails a day.

— I am assigning Enterprise license, but you can assign G Suite Basic license too.

1.1 Assign G Suite license

— Now let us create a custom delegated administration role as a best practice, which we’ll later assign to our meetreporter user we created above.
— Give this role only the reporting permission as thats all we need to report Google Meet attendance.

2. Create a custom G Suite Admin Role

Now click on “Assign Role” to open G Suite administrator role assignment window.

3. Click on Assign Role in G Suite

— Search for the user you created above, and assign it the custom reporting role we created.

4. Assign the new reporting custom role to meet user
Create Google Form Step 2

Create Google Form

Let us now create our Google Form which our users would fill to get Google Meet Attendance report.

See Instructions

— Now let us create a new Google Form
— I would call my form “Google Meet Attendance Reporter”, but you may call it anything you want.
— You should also put some context in the form heading as shown in the screenshot below.

5. Create a new Google form

— Lets add couple of questions to our form to get the information we need to report Google Meet attendance.
— We’ll need meeting code (to get the attendance report for it) and meeting type as regular meeting and live stream have different API endpoints.

6. Add questions to google form

— Your final Google Form would look the one shown in below screenshot.

7. Your form would look like this

— Click on the gear icon to open your Google Form settings.

9. Change your google form settings.png

— Our solution would only provide Google Meet attendance report to meeting organizers, so let us collect requestor’s email here, which we can compare with organizer email that we’ll get from API response.

— This form would only be available to users in your G Suite tenant, so let us restrict to users in our company. 

10. Collect emails in google form

— Let us create a Google Sheet which would receive our Google Form responses.

11. Create responses sheet

— I would name it “Google Meet Attendance Reporter”, but feel free to name it anything you like.

12. Name your Google Sheet

— Your Google Sheet for form responses in now ready with its (1) title, (2) fields, and the (3) sheet tab name as shown in the screenshot below.

13. Your form response sheet is ready

— Let us add three more fields to it:

(1) Email Address : This field would be added by your form automatically once your fill up your first form.

(2) Report Status : Our script would update this column with “Report Sent” after sending the report, so at next run we’ll skip processing the rows which are already processed. 

(3) Report Link : We’ll put the Google Meet Attendance document link here for your / G Suite Admin’s reference.

14. Add additional fields
Add Google Apps Script Step 3

Google Apps Script

Let us now add Google Apps script along with "on form submission" trigger to instantly send meet attendance reports to requestors.

See Instructions

— We would be leveraging Google Apps script to make our “Google Meet Attendance Reporter” work.

— Please hover on the script below, and it should show you a button to copy it with one click, I would show how where to paste this script in a minute.

					// This script can help you setup a self service Google meeting attedance reporting for your users.
// This script is neither influenced nor supported officially by Google, I created it to solve my own use case, so please use it as a reference only.
// It would also check whether the requesting user is meeting organizer or not to ensure we only send attedance info to organizers.
// You should ideally be create a dedicated user for this script + give him reports api read permission.
function getMeetAttendance() {

// Get the form filled up values from our Google Form sheet
// Please make sure to change the sheet name here if it is different than Form Responses 1
    var formSheet = SpreadsheetApp.getActive().getSheetByName("Form Responses 1")
    var data = formSheet.getDataRange().getValues()

    // Loop through the data to do our processing.

    for (i = 1; i < data.length; i++) {
        var userClaimedorganizer = data[i][3]
        var meetingCode = data[i][1].replace(/-/g, "") // some users might copy and paste the meeting code which has "-", lets replace it here.
        var meetingType = null
        var status = data[i][4]
        var userEmail = data[i][3]

        // Regular meeting and Live Stream have separate endpoints and provide different outputs (e.g regular meeting gives us meeting attendee duration but live stream doesn't
        // hence a different array / header row based on whether user has a regular meeting or live stream.

        if (data[i][2] == "Regular Meeting") {
            meetingType = "call_ended"
            var fileArray = [
                ["User Email", "Duration (in mins)"]
        } else {
            meetingType = "livestream_watched"
            var fileArray = [
                ["User Email", "Watch Status"]


        // we do not to process the requests which are already fulfilled, let us only process new/fresh requests

        if (status != "Report Sent" && status != "User Not Authorized") {
            let activities = new Map();
            var applicationName = "meet"
            var pageToken;

            var optionalArgs = {
                event_name: meetingType,
                filters: "meeting_code==" + meetingCode,
                pageToken: pageToken

            // for big meetings or livestreams where the attendees list would be large, let us keep calling the API till we parse the last result page via pageToken.
            do {
                apiCall = getMeetingDetails(applicationName, optionalArgs)
                var apiResponse = apiCall.items
                var pageToken = apiCall.nextPageToken
                for (var key in apiResponse) {
                    var events = apiResponse[key]["events"]

                    var apiClaimedorganizer = null

                    // Parse the parameters from Events.

                    events.forEach(function(item) {
                        var parameters = item["parameters"]
                        var obj = {}

                        // Filter the array for the items we need (e.g identifier, duration seconds, organizer email)

                        parameters.forEach(function(filter) {

                            if (filter["name"] == "identifier") {
                       = filter["value"]

                            if (filter["name"] == "duration_seconds") {
                                obj.duration = Math.abs(filter["intValue"])


                            if (apiClaimedorganizer == null && filter["name"] == "organizer_email") {
                                apiClaimedorganizer = filter["value"]


                        // Push the values to our object based on our condition, e.g if the email isn't null.

                        if (( != "" || != null)) {

                            if (meetingType == "livestream_watched") {
                                activities.set(, "Livestream Watched")

                            } else if (meetingType == "call_ended" && obj.duration != null && obj.duration > 0) {
                                if (activities.has( {
                                    activities.set(, (activities.get( + Math.round(obj.duration / 60)))
                                } else {
                                    activities.set(, Math.round(obj.duration / 60))


                pageToken = apiCall.nextPageToken

            } while (pageToken)

            // Push the values to our fileArray

            for (let [email, activity] of activities) {

                fileArray.push([email, activity])


            // create Google documenat by calling our createDocument function
            var doc = createDocument(meetingCode, fileArray, userEmail)

            if (userClaimedorganizer == apiClaimedorganizer) {

                authorizedResponse(formSheet, doc.getUrl(), meetingCode, userEmail, i)

                shareDoc(doc.getId(), userEmail)

            } else {
                unAuthorizedResponse(formSheet, doc.getUrl(), meetingCode, userEmail, i)

        } else {



// Various functions leveraged above.

// This functions takes the application name and optional arguments and call Reports API to get data

function getMeetingDetails(applicationName, optionalArgs) {
    var apiCall = AdminReports.Activities.list("all", applicationName, optionalArgs)
    return apiCall


// This fucntion email the Google document with meeting attedance details if the requester is meeting organizer.

function authorizedResponse(formSheet, docLink, meetingCode, userEmail, lineNumber) {
    formSheet.getRange(lineNumber + 1, 5).setValue("Report Sent")
    formSheet.getRange(lineNumber + 1, 6).setValue(docLink)
    GmailApp.sendEmail(userEmail, "Your meeting report for " + meetingCode, `Here is your meeting report for ${meetingCode} 
Your Sweet Meeting Reporter:)
For any questions, please reach out to`)


// This fucntion informs the requestor via email that he can't get meeting attendance as he isn't the organizer.

function unAuthorizedResponse(formSheet, docLink, meetingCode, userEmail, lineNumber) {
    formSheet.getRange(lineNumber + 1, 5).setValue("User Not Authorized")
    formSheet.getRange(lineNumber + 1, 6).setValue(docLink)
    GmailApp.sendEmail(userEmail, "Your meeting report for " + meetingCode, `Sorry, you are not authorized to get meeting report for ${meetingCode} as you are either not the meeting organizer or you provided incorrect meeting code.

Your Sweet Meeting Reporter:)
For any questions, please reach out to`)


// This fucntion creates a Google document, populate it with attendance report

function createDocument(meetingCode, fileArray, userEmail) {
    var style = {};
    style[DocumentApp.Attribute.HORIZONTAL_ALIGNMENT] =
    style[DocumentApp.Attribute.FONT_FAMILY] = 'Calibri';
    style[DocumentApp.Attribute.FONT_SIZE] = 18;
    style[DocumentApp.Attribute.BOLD] = true;
    var doc = DocumentApp.create("Attendance Report for " + meetingCode)
    doc.getBody().appendParagraph("Detailed Meeting Report for " + meetingCode).setHeading(DocumentApp.ParagraphHeading.HEADING1)
    var docId = doc.getId()
    var docLink = doc.getUrl()
    var format = doc.getBody().appendTable(fileArray).getRow(0).setAttributes(style)
    return doc

// This function shares the above created google doc with the requestor

function shareDoc(docId, userEmail) {
    return userEmail

— Now go to “Tools” and click on “Script Editor” to open Google Apps script editor.

15. go to script editor

Here, you should do couple of things :

1. You should click on untitled project and give it a contextual name (you can name it anything).

2. You should also delete the default code/function, and paste the code that you copied above (here is the code link).

16. name your apps script project

— Your apps script project would like this now with changed title, and code pasted.

17. add the google apps script code

— We need to enable couple of Advance Google Services to make our solution work, go to “Resources” menu and click on “Advance Google Services”.

18. Go to resources and click on advance google services

— Each Google Apps Script program with advance services creates a Google Cloud Platform project, as this is our newly created user, let us click on “Cloud Console Terms of Service”, and accept the TOS. 

19. click on cloud console terms of service

— You may read the TOS and once/if satisfied, provide your agreement and click on “Agree and Continue” as shown in the screenshot below.

20. accept google's terms of service

— Now go to “Resources” menu again and click on “Advance Google Services”.

18. Go to resources and click on advance google services

— Enable “Admin Reports API” as our script will be calling this to get Google Meet activity report.

21. enable admin reports api

— Our script would be sending email with Google Meet attendance report to the requestors, so let us enable Gmail API too here.
— Click Ok to close this windows once you turned on Reporting and Gmail APIs.

22. enable gmail api

— Now let us fill up our form to test our solution, fill up the form with your account, make you put the meeting code of the Google Meet which you organized.

— Note : Our solution script would send google meet attendance report only if the requestor is meeting organizer.

— Select the meeting type to regular meeting (if your meeting is regular meeting) or live stream (if your meeting was a live stream). Live streaming is only available in G Suite Enterprise plan.

— Click on submit button.

23. lets submit a sample entry

— Go back to your Google Apps Script editor by clicking on Tools –> Script Editor from your Google Sheet.

— Now click on “Select Function” dropdown, and select getMeetAttendance as shown in the screenshot below.

24. Select getMeetAttendance function

— After selecting getMeetAttendance function, click on the play button to run the script, as shown in the screenshot below.

25. Run get meet attendance function

— As this is the first time you are running this script, it will need you to review and provide permissions, click on “Review Permissions”.

26. Review the permissions

— Select the account that you created above to use in this solution.

27. Select your G Suite google meet account

— Now Google would show you the permissions this script needs to run, you may review these and click on “Allow”.

28. Allow access to your google meet account

— Now your script should run and update the status in your Google Sheet (e.g report status, and report link).

— If it does not work, go back to your script editor (Google Sheet –> Tools –> Script editor), select getMeetAttendance function and run it.

29. Our script should update the google meet report status

— You would see the email from our account (meetreports@ or whatever you named it) to the requestor account as shown in the screenshot below.

— Requestor can click on the Google document link to see Google Meet attendance report.

Note : Please feel free to change email content in the script.

30. Google Meet attendance requestor should get an email

— Requestor should see the attendance as shown below along with duration attendees attended meeting for.

1. Duration is only available in regular meetings, Google does not provide it duration for live stream meetings.
2. This is just a demo hence you see just one entry here, but our script would populate this table in google doc with the details of all attendees.

31. Google document should have a meeting attendance with duration

— Now let us fill up our form again to test what happens when form is filled up by someone who is not the meeting organizer.

32. let us submit wrong information this time

— You should now go back to your script editor (Google Sheet –> Tools –> Script editor), select getMeetAttendance function and run it.

— You would see that our script updated the status in our sheet saying “User Not Authorized” as this user isn’t the meeting organizer and we shouldn’t be sending him Google Meet attendance report.

33. You would see that user is not authorized as he isn't meeting organizer

— This requestor would get the email mentioning that only Google Meet meeting organizers can get the attendance as shown in the screenshot below.

— Please feel free to change email content in the script.

34. User will get unauthorized email

Our script has been working but it is time consuming to run it manually, so let us automate it with the triggers functionality in Google Apps Script.

— Go to your Google Apps Script editor project, and click on the “Clock” icon as shown in the screenshot below.

35. Click on trigger icon in google apps script

— Click on “Add Trigger” to add a new trigger to your script.

36. Add a new Google Apps Script Trigger

Our trigger should essentially listen to new form submissions, and run our getMeetAttendance function for each submission.

1. Your function should be “getMeetAttendance” (unless you changed its name in the script).
2. Select “Head” from which deployment should run.
3. Event source should be “From Spreadsheet“.
4. Event type should be “On Form Submit
5. Let it notify you immediately in case of script failure.
6. Save changes.

Your trigger configuration should look like the screenshot below:

37. Run the trigger on form submit

— Now you would see your Google Apps Script trigger created, and ready to run attendance function as soon as new form fill up takes place.

— Please feel free to test it out by filling up your Google Form, and it should automatically send your the Google Meet attendance report within just a minute.

38. Your trigger should now be ready to work
Embed in Google Site Step 4

Embed Form in Google Site

To provide rich experience to our G Suite users, let us add our Google Form in a Google Site (optional, but recommended).

See Instructions

— Go to (with the dedicated G Suite account you created for this solution), and create a new Google Site.

— Add a header to your header (1) Add site document name, (2) Add Site Title, (3) Optionally, add header banner.

39. Add the header to your google site

— In the next section, double click any where, and you would see the circle like shown below.
— Click on Google Drive icon to open the drive search widget.

40. Add content from drive to site

— On the right hand side, you would see a search option, search for your Google Form –> Select it –> and Click on Insert as shown in screenshot below.

41. Search and insert your google form to google site

You may also, add some description via text widget as you shown below, so your users understand what happens when they fill up the form.

43. google site form embed example

— Finally, publish your Google site by clicking on the “Publish” button on top right.
— Give your site a name, and click on Publish.

42. publish your google site

Now, you can inform your G Suite users about this site to get meeting attendance report. You can also (optionally) web address map this site (e.g as per G Suite support documentation here.

Congratulations, your users can now come to this site, fill up the form, and instantly get Google Meet meeting or live stream attendance report.

Google Meet Attendance Reporter - FAQs


Most frequent questions and answers about Google Meet Attendance Reporter

Your users can enter 10 characters meeting code with or without the “-“.

For e.g either PEAMIRNSMQ or PEA-MIRN-SMQ both should work fine.

Note -: Our script removes “-” from the meeting code (if its there) as Google Reports API does not accept dashes in the meeting code when making API call.

Absolutely, look for “authorizedResponse” and “unauthorizedResponse” functions in above Google Apps script.

You can change the email content there including email subject, body and signature.

Absolutely, one you setup the tool as a G Suite Admin, you can make it available to your school teachers via Google Sites (or via any other way).

This solution can serve up to 1500 requests everyday, if that does not suffice you need, you can use any email API to overcome Gmail API email limitation.

I have a few G Suite add-ons published in the Google marketplace, and based on my first hand experience I can tell, that add-ons would require access to your data (via OAuth) provide you result/output.

This solution however provides a script which runs within your own environment which means no need to provide access to your G Suite / Meet data with me / 3rd party developer.

This Google Meet attendance reporting solution reads information from Google Sheet (via Google Form submit), so regardless of how you fill up the form (e.g on Web, Android, iOS), you should be able to get the email with attendance report.

Yes, by default Google Meet attendance reporter would send attendance information (including user name and attended duration) in a Google document which requester can download into required format (e.g pdf, word etc) right from Google Docs interface.

You can also enhance the above provided script if you prefer to straight away email attendance report as pdf attachment.

1. Please make sure that you watched the video above and followed the directions as shown in it.

2. If you still face any issue or have any feedback, either put a comment below this post or contact me via the website menu’s “Ask Your Question” button.


As you just read Google Meet Attendance Reporter – Self Service Solution, I would recommend following as complimentary reading.
Definitive Guide to G Suite Essentials
G SuiteUsers & Admins

The Definitive Guide to G Suite Essentials

Read More →
Gmail Multiple Signatures - Create & Use multiple Signatures in Gmail
G SuiteGmail

Create and use multiple signatures in Gmail in 2020

Read More →
Password-Vaulted-Apps-Service-in-G Suite-and-Google-Cloud-Identity
AdminG SuiteSecuritySSO

Securely login to any app with G Suite Password Vaulted Apps

Read More →

22 thoughts on “Google Meet Attendance Reporter – Self Service Solution”

  1. Hi Mr. Goldy,

    Nice work am working for the past 2days but today am getting exception the detail as follow

    Exception: Invalid argument: cells[3][0] (line 205)

    Could you please help to resolve this problem

    1. It seems the provided the value which is being picked by script from sheet is not invalid, please watch the video again and ensure you followed the whole video, essentially, the data in your google sheet should correspond well to the script.

  2. Hi Goldy,

    I use your script, it is awesome, thanks ! However i’d like to add a feature on it, something to report if a student comes late to a course . Do you have some tips to do that ? Have a nice day.


  3. Hi Goldy,
    This work like a charm for some meetings but not for particular one I have this error :
    Exception: Invalid argument: cells[9][0] (line 205, file “Code”)

    Context : It’s a large regular meeting organized in a shared calendar “recurrently” . The user who submit is the organizer of this event.

    Do you have any idea or input on how to solve this ?

    Thanks a lot for this script by the way !

    1. Hi Pierre – Invalid argument indicates that we are sending invalid value to the API, please check the value in your Google sheet for this row, and ensure that it corresponds well to the script.

      Pay attention to things like a black space in the cell etc too.

  4. Hi Goldy,
    I did everything as explained, but getting following error
    Exception: Invalid argument: cells[1][0] (line 205, file “Code”)
    what should I do to avoid this.

    1. Invalid argument indicates that we are sending invalid value to the API, please check the value in your Google sheet for this row, and ensure that it corresponds well to the script.

      Pay attention to things like a black space in the cell etc too.

  5. Hello Mr. Goldy Arora,
    This seems to be amazing, however, while I run the script I am getting following error : ReferenceError: AdminReports is not defined (line 152, file “Code”).
    Could you help me with that.
    Best Regards

      1. Swatee Yogessh

        Hello Sir,
        I did the whole process again, and now there is no error, however, the report doesnot give the list, it is blank. Though the meet details are correct and it is the organiser who submits the request, still the report status is ‘Unauthorised user’.

        Please guide.

  6. Hello Goldy,

    This is so helpful and something we were looking for with out an extension. I am new to scripting and was able to get the report to run successfully and it is wonderful. I ran every scenario our users might run into when trying to get this report.
    One question, how can I pull the participant name into the script? I see that this is collected in the Google audit log. I reviewed the parameters and it looks like I would need to collect the Display_name but I tried adding this to the script and have been unsuccessful.
    I look forward to many more of your helpful blogs.

  7. Hi Sir,
    This is really a needed tool at this time.I tried it,everything was going good but while running the script,it throws exception in email code line 180.
    Also in the spreadsheet the report statistics is empty and it is not getting linked.

    Please help me .

    Menaka P

    1. exception in email code line 180 means email address column number in your Google sheet is different than the one provided in the script.
      I explained it in step #4 in the video how to match them.

      so you should watch the video again to solve this.

  8. Hi Sir,

    This idea of attendance is really good…I am done with the set up but it shows exception in the code as like below
    Exception: Invalid email: Live Stream (line 180, file “Code”)

    Please help me and the report status column in the google sheet is also empty.

  9. Hi Sir,

    This idea of attendance is really good…but I am not able to proceed as I am getting authorization error…What should i do?Please help…


    I like your script. Just need little update to see the timestamp or date filter since many user use recurring meeting.

  11. Hi Goldy,

    Hope you are doing good. This is really nice one and much needed. Thanks for sharing this.
    I also tried this but some how its not consistent for every meeting events. Specially meeting having large numbers(more the 30), somehow its unable to pick any random participant email address and throw below error
    [ undefined, 180 ],
    [20-07-02 19:34:24:455 PDT] Exception: Invalid argument: cells[20][0]
    and if this script stuck for any event then will not run for subsequent events. Then we have to manually delete that event and rerun the script.
    May be I am making some mistake but I tried with some our users and having the same Issue.
    Any expert suggestion here.

    1. Hi Lalit sir, good to hear from you after a long, hope you are well.

      exception in email code line 180 indicates email address column number in your Google sheet is different than the one provided in the script.
      I explained it in step #4 in the video how to match them.

      Please record a video showing your Google Sheet + your script + running the script + error details, and I would love to help you out.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top