-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read property 'worksheets' of undefined #45
Comments
Same issue on this side. |
Same issue |
This seems to be related to #39, caused by the Google API V3 version being recently deprecated. Provided this plugin doesn't seem to be supported anymore, I suggest replacing it with https://github.com/sondrele/gatsby-source-google-spreadsheet. I could replace it successfully in my project; there are minor implementation differences but overall it's pretty much the same. Some differences I stumbled upon:
|
@advisciglio Agree. It seems they dropped it on 2nd August, 2021 and its weird we are facing this issue since 16 August, 2021. Anyway, i have gone through the migration part and noticed the changed the URL's for API which we might need to implement here in this project. So we can use the same plugin instead of going to another plugin. |
@rajan-magar are you working with a migration? Would be great to be able to continue using this plugin, we use it in several projects. I also opened #46 to see if we can get in touch with the author of this plugin since it seems abandoned. Otherwise, we might need to fork it... Maybe start a community around it? I will also take a deeper look at the suggested alternative above, though latest update there is also old: Oct 30, 2019... |
Looks like @yeswanth has a working version here: https://github.com/yeswanth/gatsby-source-google-sheets. Any chance we can create a GitHub organisation and work together on a successor of this plugin instead of building our own versions? 😄 |
@ehannes I ended up using https://github.com/sondrele/gatsby-source-google-spreadsheet to fix the Google API issue. The repo you reference is a fork from the original that I had to make in order to bridge the Gatsby v2 to v3 issue, but I think it still has permission failures (I stopped using it altogether). |
@ehannes Definitely a good idea. I would love to collaborate with you on this. |
@yeswanth are your version of the plugin working? If so, then maybe we could continue with either:
Would also be nice if we could release the plugin officially at npmjs.org. Maybe you could contact me at [email protected] to discuss the details further? Thanks for wanting to share 😄 |
@advisciglio good that you found a solution. Is that other plugin maintained? It has just 15 commits and last one was made Oct 30, 2019. Does it support Gatsby v3? |
@ehannes I am using it with V2 but I think it should work on V3 as well. In
In regards to plugin maintenance, yes, it looks less popular and equally abandoned. |
@yeswanth any change we can get in contact? 😃 |
@advisciglio Yes, I just sent you a mail :) |
Unfortunately, this repository seems completely abandoned, and as this issue describes, it's also broken. @yeswanth and I have decided to use his working fork of the project and continue maintenance there. So, if anyone is interested, you can find it here: https://github.com/yeswanth/gatsby-source-google-sheets. |
As per @ehannes message above I am closing this as it is apparent that this plugin is no longer functional with Google updating their API and this plugin not being maintained. Ive decided to move the google sheets into a For anyone wanting a google-sheets plugin see @ehannes' link above. |
Hi all! I know this Error is highlighted at the bottom of the
README
under Troubleshooting.Followed the troubleshooting suggestions and I am still left with the error.
I weirdly received this error yesterday, and made sure that the service account user had been shared with the spreadsheet. Creating a new service account however seemed to temporary fix the issue until now.
Getting the same error and creating a new service account is not able to fix the issue this time.
Let me know if theres any further information I can provide! Any help is much appreciated! Thank you!
The text was updated successfully, but these errors were encountered: