Skip to content
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

Getting Bad request errors when requesting google sheet reader #1

Closed
bashaasnoot opened this issue Jul 8, 2016 · 3 comments
Closed

Comments

@bashaasnoot
Copy link

Hello,
I'm testing this project using c9.io but I'm getting http 400 errors when doing a request on the spreadsheet, is the url to the spreadsheet still correct?
When executing that url in a browser I get the message: "Invalid query parameter value for grid_i"

@emirn
Copy link
Owner

emirn commented Jul 8, 2016

@bashaasnoot have you published the Google sheet? It should be published via File - Publish To Web.
If you just set the sheet to be public then it will not work, it is obligatory to set Published To Web to be able to get JSON from that sheet

@bashaasnoot
Copy link
Author

Hi Emirn,

Thanks for your reply.
I did publish the Google sheet, the probleem was the '/od6/' part of the url, which seems to be the grid_id.
After I changed this to '1' it worked like a charm.

Thanks for this awesome project!

@emirn
Copy link
Owner

emirn commented Jul 22, 2016

thank you for sharing the solution! will close this issue

@emirn emirn closed this as completed Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants