Something wrong in update my data via Google Sheets API
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I want to Update my Google sheets data via Google Sheets API.
It look like connect to Google's server and send request successful.
But my Google sheets data was not update.
And the response:result.updatedCells is undefined.
Where did I go wrong?
function listMajors(auth) {
var body = {
values: [["2"]]
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2"+"?valueInputOption=RAW",
majorDimension:'ROWS',
auth: auth,
resource: body
}, function(err, result) {
if(err)
console.log(err);
else
console.log('updateRange: '+result.updatedRange);
console.log('updatedCells: '+result.updatedCells);
console.log('updatedRows '+result.updatedRows);
});
}
}
Value of response of range is OK, but response of other is undefined
Although server had received my request.
My Google sheets still not update.
node.js post google-sheets google-api updates
add a comment |
I want to Update my Google sheets data via Google Sheets API.
It look like connect to Google's server and send request successful.
But my Google sheets data was not update.
And the response:result.updatedCells is undefined.
Where did I go wrong?
function listMajors(auth) {
var body = {
values: [["2"]]
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2"+"?valueInputOption=RAW",
majorDimension:'ROWS',
auth: auth,
resource: body
}, function(err, result) {
if(err)
console.log(err);
else
console.log('updateRange: '+result.updatedRange);
console.log('updatedCells: '+result.updatedCells);
console.log('updatedRows '+result.updatedRows);
});
}
}
Value of response of range is OK, but response of other is undefined
Although server had received my request.
My Google sheets still not update.
node.js post google-sheets google-api updates
Thank you everyone to read my post
– 黃翊唐
Nov 16 '18 at 19:40
add a comment |
I want to Update my Google sheets data via Google Sheets API.
It look like connect to Google's server and send request successful.
But my Google sheets data was not update.
And the response:result.updatedCells is undefined.
Where did I go wrong?
function listMajors(auth) {
var body = {
values: [["2"]]
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2"+"?valueInputOption=RAW",
majorDimension:'ROWS',
auth: auth,
resource: body
}, function(err, result) {
if(err)
console.log(err);
else
console.log('updateRange: '+result.updatedRange);
console.log('updatedCells: '+result.updatedCells);
console.log('updatedRows '+result.updatedRows);
});
}
}
Value of response of range is OK, but response of other is undefined
Although server had received my request.
My Google sheets still not update.
node.js post google-sheets google-api updates
I want to Update my Google sheets data via Google Sheets API.
It look like connect to Google's server and send request successful.
But my Google sheets data was not update.
And the response:result.updatedCells is undefined.
Where did I go wrong?
function listMajors(auth) {
var body = {
values: [["2"]]
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2"+"?valueInputOption=RAW",
majorDimension:'ROWS',
auth: auth,
resource: body
}, function(err, result) {
if(err)
console.log(err);
else
console.log('updateRange: '+result.updatedRange);
console.log('updatedCells: '+result.updatedCells);
console.log('updatedRows '+result.updatedRows);
});
}
}
Value of response of range is OK, but response of other is undefined
Although server had received my request.
My Google sheets still not update.
node.js post google-sheets google-api updates
node.js post google-sheets google-api updates
asked Nov 16 '18 at 19:38
黃翊唐黃翊唐
152
152
Thank you everyone to read my post
– 黃翊唐
Nov 16 '18 at 19:40
add a comment |
Thank you everyone to read my post
– 黃翊唐
Nov 16 '18 at 19:40
Thank you everyone to read my post
– 黃翊唐
Nov 16 '18 at 19:40
Thank you everyone to read my post
– 黃翊唐
Nov 16 '18 at 19:40
add a comment |
1 Answer
1
active
oldest
votes
How about this modification?
Modification points:
- Please put the property of
majorDimension
to the resource object. - Please modify
range: "table2!K2"+"?valueInputOption=RAW",
- You can retrieve the result by
result.data
.
Modified script:
function listMajors(auth) {
var body = {
majorDimension: "ROWS", // Added
values: [["2"]],
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2", // Modified
valueInputOption: "RAW", // Modified
auth: auth,
resource: body,
}, function(err, result) {
if (err) {
console.log(err); // or console.log(err.errors);
return;
}
console.log('updateRange: '+result.data.updatedRange); // Modified
console.log('updatedCells: '+result.data.updatedCells); // Modified
console.log('updatedRows '+result.data.updatedRows); // Modified
});
}
Note:
- This modified script supposes the following points.
- Your environment can update the spreadsheet using Sheets API.
sheets
is declared.
- If this didn't work, can you try it with the latest version of googleapis?
Reference:
- spreadsheets.values.update
In my environment, I confirmed that this modified script worked. If this didn't work in your environment, I'm sorry.
Edit:
In my environment, I confirmed that the modified script worked fine using googleapis of version 27.0.0 and the latest version (35.0.0). Unfortunately, I couldn't replicate your situation. So I would like to propose other method.
Sample script:
This script updates the spreadsheet using the method of values.update of Sheets API. This script uses auth
of your script. When you use this script, please modify the script in listMajors(auth)
to the following script.
function listMajors(auth) {
const request = require('request');
const spreadsheetId = '{MyGoogleSheetsId}';
const range = "table2!K2";
auth.getRequestHeaders()
.then(function(e) {
var body = {
majorDimension: "ROWS",
values: [["2"]],
};
var options = {
uri: `https://sheets.googleapis.com/v4/spreadsheets/${spreadsheetId}/values/${range}?valueInputOption=RAW`,
method: "put",
headers: e,
json: body,
};
request(options, function(err, res, result){
if (err) {
console.log(err);
return;
}
console.log(result);
});
});
}
Thanks for your reply~~~
– 黃翊唐
Nov 17 '18 at 13:48
I have written " valueInputOption: "RAW", // Modified ", but it was return an error : i.imgur.com/q4h2LJm.png So I modified my program according this post : stackoverflow.com/questions/53213939/…
– 黃翊唐
Nov 17 '18 at 13:55
@黃翊唐 I updated my answer. Could you please confirm it? If this was not what you want, I'm sorry. By the way, if you want to retrieve the result usingsheets.spreadsheets.values.update()
, please try to modify fromresult.updatedRange
,result.updatedCells
andresult.updatedRows
toresult.data.updatedRange
,result.data.updatedCells
andresult.data.updatedRows
, respectively.
– Tanaike
Nov 18 '18 at 7:35
Thank you very much ! but this problem is still not solved. I give up to use Google API to updata my data. Maybe I will get/update data with myself DB server. Thanks you!!!
– 黃翊唐
Nov 19 '18 at 8:45
@黃翊唐 Thank you for replying and additional information. If this was not useful for you, I'm sorry.
– Tanaike
Nov 19 '18 at 22:23
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53344319%2fsomething-wrong-in-update-my-data-via-google-sheets-api%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
How about this modification?
Modification points:
- Please put the property of
majorDimension
to the resource object. - Please modify
range: "table2!K2"+"?valueInputOption=RAW",
- You can retrieve the result by
result.data
.
Modified script:
function listMajors(auth) {
var body = {
majorDimension: "ROWS", // Added
values: [["2"]],
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2", // Modified
valueInputOption: "RAW", // Modified
auth: auth,
resource: body,
}, function(err, result) {
if (err) {
console.log(err); // or console.log(err.errors);
return;
}
console.log('updateRange: '+result.data.updatedRange); // Modified
console.log('updatedCells: '+result.data.updatedCells); // Modified
console.log('updatedRows '+result.data.updatedRows); // Modified
});
}
Note:
- This modified script supposes the following points.
- Your environment can update the spreadsheet using Sheets API.
sheets
is declared.
- If this didn't work, can you try it with the latest version of googleapis?
Reference:
- spreadsheets.values.update
In my environment, I confirmed that this modified script worked. If this didn't work in your environment, I'm sorry.
Edit:
In my environment, I confirmed that the modified script worked fine using googleapis of version 27.0.0 and the latest version (35.0.0). Unfortunately, I couldn't replicate your situation. So I would like to propose other method.
Sample script:
This script updates the spreadsheet using the method of values.update of Sheets API. This script uses auth
of your script. When you use this script, please modify the script in listMajors(auth)
to the following script.
function listMajors(auth) {
const request = require('request');
const spreadsheetId = '{MyGoogleSheetsId}';
const range = "table2!K2";
auth.getRequestHeaders()
.then(function(e) {
var body = {
majorDimension: "ROWS",
values: [["2"]],
};
var options = {
uri: `https://sheets.googleapis.com/v4/spreadsheets/${spreadsheetId}/values/${range}?valueInputOption=RAW`,
method: "put",
headers: e,
json: body,
};
request(options, function(err, res, result){
if (err) {
console.log(err);
return;
}
console.log(result);
});
});
}
Thanks for your reply~~~
– 黃翊唐
Nov 17 '18 at 13:48
I have written " valueInputOption: "RAW", // Modified ", but it was return an error : i.imgur.com/q4h2LJm.png So I modified my program according this post : stackoverflow.com/questions/53213939/…
– 黃翊唐
Nov 17 '18 at 13:55
@黃翊唐 I updated my answer. Could you please confirm it? If this was not what you want, I'm sorry. By the way, if you want to retrieve the result usingsheets.spreadsheets.values.update()
, please try to modify fromresult.updatedRange
,result.updatedCells
andresult.updatedRows
toresult.data.updatedRange
,result.data.updatedCells
andresult.data.updatedRows
, respectively.
– Tanaike
Nov 18 '18 at 7:35
Thank you very much ! but this problem is still not solved. I give up to use Google API to updata my data. Maybe I will get/update data with myself DB server. Thanks you!!!
– 黃翊唐
Nov 19 '18 at 8:45
@黃翊唐 Thank you for replying and additional information. If this was not useful for you, I'm sorry.
– Tanaike
Nov 19 '18 at 22:23
add a comment |
How about this modification?
Modification points:
- Please put the property of
majorDimension
to the resource object. - Please modify
range: "table2!K2"+"?valueInputOption=RAW",
- You can retrieve the result by
result.data
.
Modified script:
function listMajors(auth) {
var body = {
majorDimension: "ROWS", // Added
values: [["2"]],
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2", // Modified
valueInputOption: "RAW", // Modified
auth: auth,
resource: body,
}, function(err, result) {
if (err) {
console.log(err); // or console.log(err.errors);
return;
}
console.log('updateRange: '+result.data.updatedRange); // Modified
console.log('updatedCells: '+result.data.updatedCells); // Modified
console.log('updatedRows '+result.data.updatedRows); // Modified
});
}
Note:
- This modified script supposes the following points.
- Your environment can update the spreadsheet using Sheets API.
sheets
is declared.
- If this didn't work, can you try it with the latest version of googleapis?
Reference:
- spreadsheets.values.update
In my environment, I confirmed that this modified script worked. If this didn't work in your environment, I'm sorry.
Edit:
In my environment, I confirmed that the modified script worked fine using googleapis of version 27.0.0 and the latest version (35.0.0). Unfortunately, I couldn't replicate your situation. So I would like to propose other method.
Sample script:
This script updates the spreadsheet using the method of values.update of Sheets API. This script uses auth
of your script. When you use this script, please modify the script in listMajors(auth)
to the following script.
function listMajors(auth) {
const request = require('request');
const spreadsheetId = '{MyGoogleSheetsId}';
const range = "table2!K2";
auth.getRequestHeaders()
.then(function(e) {
var body = {
majorDimension: "ROWS",
values: [["2"]],
};
var options = {
uri: `https://sheets.googleapis.com/v4/spreadsheets/${spreadsheetId}/values/${range}?valueInputOption=RAW`,
method: "put",
headers: e,
json: body,
};
request(options, function(err, res, result){
if (err) {
console.log(err);
return;
}
console.log(result);
});
});
}
Thanks for your reply~~~
– 黃翊唐
Nov 17 '18 at 13:48
I have written " valueInputOption: "RAW", // Modified ", but it was return an error : i.imgur.com/q4h2LJm.png So I modified my program according this post : stackoverflow.com/questions/53213939/…
– 黃翊唐
Nov 17 '18 at 13:55
@黃翊唐 I updated my answer. Could you please confirm it? If this was not what you want, I'm sorry. By the way, if you want to retrieve the result usingsheets.spreadsheets.values.update()
, please try to modify fromresult.updatedRange
,result.updatedCells
andresult.updatedRows
toresult.data.updatedRange
,result.data.updatedCells
andresult.data.updatedRows
, respectively.
– Tanaike
Nov 18 '18 at 7:35
Thank you very much ! but this problem is still not solved. I give up to use Google API to updata my data. Maybe I will get/update data with myself DB server. Thanks you!!!
– 黃翊唐
Nov 19 '18 at 8:45
@黃翊唐 Thank you for replying and additional information. If this was not useful for you, I'm sorry.
– Tanaike
Nov 19 '18 at 22:23
add a comment |
How about this modification?
Modification points:
- Please put the property of
majorDimension
to the resource object. - Please modify
range: "table2!K2"+"?valueInputOption=RAW",
- You can retrieve the result by
result.data
.
Modified script:
function listMajors(auth) {
var body = {
majorDimension: "ROWS", // Added
values: [["2"]],
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2", // Modified
valueInputOption: "RAW", // Modified
auth: auth,
resource: body,
}, function(err, result) {
if (err) {
console.log(err); // or console.log(err.errors);
return;
}
console.log('updateRange: '+result.data.updatedRange); // Modified
console.log('updatedCells: '+result.data.updatedCells); // Modified
console.log('updatedRows '+result.data.updatedRows); // Modified
});
}
Note:
- This modified script supposes the following points.
- Your environment can update the spreadsheet using Sheets API.
sheets
is declared.
- If this didn't work, can you try it with the latest version of googleapis?
Reference:
- spreadsheets.values.update
In my environment, I confirmed that this modified script worked. If this didn't work in your environment, I'm sorry.
Edit:
In my environment, I confirmed that the modified script worked fine using googleapis of version 27.0.0 and the latest version (35.0.0). Unfortunately, I couldn't replicate your situation. So I would like to propose other method.
Sample script:
This script updates the spreadsheet using the method of values.update of Sheets API. This script uses auth
of your script. When you use this script, please modify the script in listMajors(auth)
to the following script.
function listMajors(auth) {
const request = require('request');
const spreadsheetId = '{MyGoogleSheetsId}';
const range = "table2!K2";
auth.getRequestHeaders()
.then(function(e) {
var body = {
majorDimension: "ROWS",
values: [["2"]],
};
var options = {
uri: `https://sheets.googleapis.com/v4/spreadsheets/${spreadsheetId}/values/${range}?valueInputOption=RAW`,
method: "put",
headers: e,
json: body,
};
request(options, function(err, res, result){
if (err) {
console.log(err);
return;
}
console.log(result);
});
});
}
How about this modification?
Modification points:
- Please put the property of
majorDimension
to the resource object. - Please modify
range: "table2!K2"+"?valueInputOption=RAW",
- You can retrieve the result by
result.data
.
Modified script:
function listMajors(auth) {
var body = {
majorDimension: "ROWS", // Added
values: [["2"]],
};
sheets.spreadsheets.values.update({
spreadsheetId: '{MyGoogleSheetsId}',
range: "table2!K2", // Modified
valueInputOption: "RAW", // Modified
auth: auth,
resource: body,
}, function(err, result) {
if (err) {
console.log(err); // or console.log(err.errors);
return;
}
console.log('updateRange: '+result.data.updatedRange); // Modified
console.log('updatedCells: '+result.data.updatedCells); // Modified
console.log('updatedRows '+result.data.updatedRows); // Modified
});
}
Note:
- This modified script supposes the following points.
- Your environment can update the spreadsheet using Sheets API.
sheets
is declared.
- If this didn't work, can you try it with the latest version of googleapis?
Reference:
- spreadsheets.values.update
In my environment, I confirmed that this modified script worked. If this didn't work in your environment, I'm sorry.
Edit:
In my environment, I confirmed that the modified script worked fine using googleapis of version 27.0.0 and the latest version (35.0.0). Unfortunately, I couldn't replicate your situation. So I would like to propose other method.
Sample script:
This script updates the spreadsheet using the method of values.update of Sheets API. This script uses auth
of your script. When you use this script, please modify the script in listMajors(auth)
to the following script.
function listMajors(auth) {
const request = require('request');
const spreadsheetId = '{MyGoogleSheetsId}';
const range = "table2!K2";
auth.getRequestHeaders()
.then(function(e) {
var body = {
majorDimension: "ROWS",
values: [["2"]],
};
var options = {
uri: `https://sheets.googleapis.com/v4/spreadsheets/${spreadsheetId}/values/${range}?valueInputOption=RAW`,
method: "put",
headers: e,
json: body,
};
request(options, function(err, res, result){
if (err) {
console.log(err);
return;
}
console.log(result);
});
});
}
edited Nov 18 '18 at 7:54
answered Nov 16 '18 at 21:41
TanaikeTanaike
24.7k31327
24.7k31327
Thanks for your reply~~~
– 黃翊唐
Nov 17 '18 at 13:48
I have written " valueInputOption: "RAW", // Modified ", but it was return an error : i.imgur.com/q4h2LJm.png So I modified my program according this post : stackoverflow.com/questions/53213939/…
– 黃翊唐
Nov 17 '18 at 13:55
@黃翊唐 I updated my answer. Could you please confirm it? If this was not what you want, I'm sorry. By the way, if you want to retrieve the result usingsheets.spreadsheets.values.update()
, please try to modify fromresult.updatedRange
,result.updatedCells
andresult.updatedRows
toresult.data.updatedRange
,result.data.updatedCells
andresult.data.updatedRows
, respectively.
– Tanaike
Nov 18 '18 at 7:35
Thank you very much ! but this problem is still not solved. I give up to use Google API to updata my data. Maybe I will get/update data with myself DB server. Thanks you!!!
– 黃翊唐
Nov 19 '18 at 8:45
@黃翊唐 Thank you for replying and additional information. If this was not useful for you, I'm sorry.
– Tanaike
Nov 19 '18 at 22:23
add a comment |
Thanks for your reply~~~
– 黃翊唐
Nov 17 '18 at 13:48
I have written " valueInputOption: "RAW", // Modified ", but it was return an error : i.imgur.com/q4h2LJm.png So I modified my program according this post : stackoverflow.com/questions/53213939/…
– 黃翊唐
Nov 17 '18 at 13:55
@黃翊唐 I updated my answer. Could you please confirm it? If this was not what you want, I'm sorry. By the way, if you want to retrieve the result usingsheets.spreadsheets.values.update()
, please try to modify fromresult.updatedRange
,result.updatedCells
andresult.updatedRows
toresult.data.updatedRange
,result.data.updatedCells
andresult.data.updatedRows
, respectively.
– Tanaike
Nov 18 '18 at 7:35
Thank you very much ! but this problem is still not solved. I give up to use Google API to updata my data. Maybe I will get/update data with myself DB server. Thanks you!!!
– 黃翊唐
Nov 19 '18 at 8:45
@黃翊唐 Thank you for replying and additional information. If this was not useful for you, I'm sorry.
– Tanaike
Nov 19 '18 at 22:23
Thanks for your reply~~~
– 黃翊唐
Nov 17 '18 at 13:48
Thanks for your reply~~~
– 黃翊唐
Nov 17 '18 at 13:48
I have written " valueInputOption: "RAW", // Modified ", but it was return an error : i.imgur.com/q4h2LJm.png So I modified my program according this post : stackoverflow.com/questions/53213939/…
– 黃翊唐
Nov 17 '18 at 13:55
I have written " valueInputOption: "RAW", // Modified ", but it was return an error : i.imgur.com/q4h2LJm.png So I modified my program according this post : stackoverflow.com/questions/53213939/…
– 黃翊唐
Nov 17 '18 at 13:55
@黃翊唐 I updated my answer. Could you please confirm it? If this was not what you want, I'm sorry. By the way, if you want to retrieve the result using
sheets.spreadsheets.values.update()
, please try to modify from result.updatedRange
, result.updatedCells
and result.updatedRows
to result.data.updatedRange
, result.data.updatedCells
and result.data.updatedRows
, respectively.– Tanaike
Nov 18 '18 at 7:35
@黃翊唐 I updated my answer. Could you please confirm it? If this was not what you want, I'm sorry. By the way, if you want to retrieve the result using
sheets.spreadsheets.values.update()
, please try to modify from result.updatedRange
, result.updatedCells
and result.updatedRows
to result.data.updatedRange
, result.data.updatedCells
and result.data.updatedRows
, respectively.– Tanaike
Nov 18 '18 at 7:35
Thank you very much ! but this problem is still not solved. I give up to use Google API to updata my data. Maybe I will get/update data with myself DB server. Thanks you!!!
– 黃翊唐
Nov 19 '18 at 8:45
Thank you very much ! but this problem is still not solved. I give up to use Google API to updata my data. Maybe I will get/update data with myself DB server. Thanks you!!!
– 黃翊唐
Nov 19 '18 at 8:45
@黃翊唐 Thank you for replying and additional information. If this was not useful for you, I'm sorry.
– Tanaike
Nov 19 '18 at 22:23
@黃翊唐 Thank you for replying and additional information. If this was not useful for you, I'm sorry.
– Tanaike
Nov 19 '18 at 22:23
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53344319%2fsomething-wrong-in-update-my-data-via-google-sheets-api%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Thank you everyone to read my post
– 黃翊唐
Nov 16 '18 at 19:40