Google's officially supported Node.js client library for accessing Google APIs. Support for authorization and authentication with OAuth 2.0, API Keys and JWT (Service Tokens) is included.
I'm using googleapis in a backend server, some certain endpoints of the server work and googleapis does save items in sheets, but this specific endpoint ain't working. It does print "Done" as per line 30 but doesn't really append any values in the sheet. The path to the credentials file is absolutely correct and is being used by the other endpoints that work, the range is also correct with the right sheet name. When logging response in the console as per line 32, it returns the following :
I'm using googleapis in a backend server, some certain endpoints of the server work and googleapis does save items in sheets, but this specific endpoint ain't working. It does print "Done" as per line 30 but doesn't really append any values in the sheet. The path to the credentials file is absolutely correct and is being used by the other endpoints that work, the range is also correct with the right sheet name. When logging
response
in the console as per line 32, it returns the following :Replaced the bearer token and sheet id with
{token}
&{sheetid}
in above outputHere is the backend server code :