GoogleCloudPlatform/iot-smart-home-cloud

cloud function registerDevice showing error

robocircuit opened this issue · 0 comments

registerDevice
Error: Could not load the default credentials. Browse to https://cloud.google.com/docs/authentication/getting-started for more information. at GoogleAuth.getApplicationDefaultAsync (/srv/node_modules/googleapis/node_modules/google-auth-library/build/src/auth/googleauth.js:155:19) at at process._tickDomainCallback (internal/process/next_tick.js:229:7)

registerDevice
(node:2) MetadataLookupWarning: received unexpected error = URL is not defined code = UNKNOWN

registerDevice
Function execution took 54 ms, finished with status: 'error'