Category : google-api

I’m new to next.js, in the getStaticProps function I’m loading a googlesheet table into a constant. The result is an array of arrays, here’s an example of the googleapi return: [["CLIENT A","MIKE","UNKNOWN","TRADICIONAL"],["CLIENT B","MARY","UNKNOWN","MOROSO"],["CLIENT C","MIKE","CLIENT C S.A DE C.V.","TRADICIONAL"],["CLIENT D","JOHN","RAZON SOCIAL CLIENT","TRADICIONAL"]] I’m returning this array as props, but I can’t find a way to manipulate ..

Read more

To prevent users from posting links to phishing scams on our Discord server, I have decided to use the Google Safe Browsing API. Google Transparency Report (which to my knowledge uses the Safe Browsing API) says that the site: contains harmful content, including pages that: Try to trick visitors into sharing personal info or downloading ..

Read more

(node:13048) UnhandledPromiseRejectionWarning: Error: Google API error – [401] Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project. at createError (D:another coding langdiscordbotmihonode_modulesaxioslibcorecreateError.js:16:15) at settle (D:another coding langdiscordbotmihonode_modulesaxioslibcoresettle.js:17:12) at IncomingMessage.handleStreamEnd (D:another coding langdiscordbotmihonode_modulesaxioslibadaptershttp.js:260:11) at IncomingMessage.emit (events.js:327:22) at endReadableNT (internal/streams/readable.js:1327:12) at processTicksAndRejections (internal/process/task_queues.js:80:21) (Use `node –trace-warnings …` ..

Read more