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

NodeJS sheets API Proto field error #1220

Closed
SimonScheerlynck opened this issue Jun 20, 2018 · 3 comments
Closed

NodeJS sheets API Proto field error #1220

SimonScheerlynck opened this issue Jun 20, 2018 · 3 comments
Assignees
Labels
needs more info This issue needs more information from the customer to proceed. type: question Request for information or clarification. Not an issue.

Comments

@SimonScheerlynck
Copy link

I am trying to create a Google Spreadsheet using a NodeJs backend and the Google APIs.
I was following this tutorial (https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/create
). However when i create the file using some specified properties, I always get the following error: Error: Invalid JSON payload received. Unknown name "title" at 'spreadsheet.properties': Proto field is not repeating, cannot start list. In the tutorial nothing is mentioned about a Proto field. Is this a bug or am I missing something?

Creating the file does work without any properties, however the properties are used to set a name for the file and the sheets so I do need a way to include this.

Thanks!

@JustinBeckwith JustinBeckwith added the triage me I really want to be triaged. label Jun 20, 2018
@SimonScheerlynck
Copy link
Author

SimonScheerlynck commented Jun 20, 2018

To further clarify, I have now removed the title options from the create request. This correctly creates an untitled file. I am then trying to use the batchUpdate function to update the info of the file. I implemented the updateSheetProperties correctly. However the updateSpreadsheetProperties still gives the same error as before. Any idea how this is possible?

@JustinBeckwith
Copy link
Contributor

Greetings! I'd be happy to take a look. Can you please share the relevant code?

@JustinBeckwith JustinBeckwith added needs more info This issue needs more information from the customer to proceed. type: question Request for information or clarification. Not an issue. and removed triage me I really want to be triaged. labels Jun 21, 2018
@JustinBeckwith
Copy link
Contributor

Greetings! If you can provide a code snippet, we'd be happy to check it out. I'm going to close this out for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs more information from the customer to proceed. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

2 participants