grahamearley / FirestoreGoogleAppsScript

A Google Apps Script library for accessing Google Cloud Firestore.
http://grahamearley.website/blog/2017/10/18/firestore-in-google-apps-script.html
MIT License
647 stars 109 forks source link

TypeError: Cannot read property 'getLastRow' of null (line 27, file "Code") #74

Closed davidogundepo closed 4 years ago

davidogundepo commented 4 years ago

Screenshot (49)_LI Screenshot (50)_LI

Please, what I'm I getting wrong?

LaughDonor commented 4 years ago

Could you please show us Line 27? That's where the script is complaining.

On Tue, Mar 10, 2020 at 10:31 PM David Ogundepo notifications@github.com wrote:

[image: Screenshot (49)_LI] https://user-images.githubusercontent.com/24846376/76379664-02481280-6351-11ea-9bec-86c9aed51eed.jpg [image: Screenshot (50)_LI] https://user-images.githubusercontent.com/24846376/76379682-0d02a780-6351-11ea-8a1e-134128b656d4.jpg

Please, what I'm I getting wrong?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/grahamearley/FirestoreGoogleAppsScript/issues/74?email_source=notifications&email_token=AABJCCAKKWNVOOXAUEMDNMDRG4AYTA5CNFSM4LFMWQD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IUCT3DA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJCCDN42OY6YHSHTI4Y6DRG4AYTANCNFSM4LFMWQDQ .

rielzzapps commented 4 years ago

I think this has nothing to do with the Library, but not having a sheet loaded correctly.

sonu-simon commented 4 years ago

I had this issue, and it turned out that I hadn't named the sheet as I mentioned in line number 8. Fixing that solved it for me.

LaughDonor commented 4 years ago

Closing for now. If there are more issues, we can reopen.