Created
August 14, 2020 15:50
-
-
Save neuberfran/9cbd0b5ea41b80e8acf338fb1172db7e to your computer and use it in GitHub Desktop.
issues in firebase console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unable to register new device { Error: A Not Found error was returned | |
while attempting to retrieve an accesstoken for the Compute Engine built-in service account. This may be because the Compute Engine instance does not have any permission scopes specified. A device with the name 'projects/casaminha-2e0ca/locations/us-central1/registries/iotcore-registry/devices/rpi3' doesn't exist. | |
at Gaxios.<anonymous> (/srv/node_modules/gaxios/build/src/gaxios.js:72:27) | |
at Generator.next (<anonymous>) | |
at fulfilled (/srv/node_modules/gaxios/build/src/gaxios.js:16:58) | |
at <anonymous> | |
at process._tickDomainCallback (internal/process/next_tick.js:229:7) | |
response: | |
{ config: | |
{ url: 'https://cloudiot.googleapis.com/v1/projects/casaminha-2e0ca/locations/us-central1/registries/iotcore-registry/devices/rpi3', | |
method: 'GET', | |
paramsSerializer: [Function], | |
headers: [Object], | |
params: {}, | |
validateStatus: [Function], | |
responseType: 'json' }, | |
data: { error: [Object] }, | |
headers: | |
{ 'alt-svc': 'h3-29=":443"; ma=2592000,h3-27=":443"; ma=2592000,h3-T050=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"', | |
'cache-control': 'private', | |
connection: 'close', | |
'content-encoding': 'gzip', | |
'content-type': 'application/json; charset=UTF-8', | |
date: 'Fri, 14 Aug 2020 00:31:53 GMT', | |
server: 'ESF', | |
'transfer-encoding': 'chunked', | |
vary: 'Origin, X-Origin, Referer', | |
'x-content-type-options': 'nosniff', | |
'x-frame-options': 'SAMEORIGIN', | |
'x-xss-protection': '0' }, | |
status: 404, | |
statusText: 'Not Found' }, | |
config: | |
{ url: 'https://cloudiot.googleapis.com/v1/projects/casaminha-2e0ca/locations/us-central1/registries/iotcore-registry/devices/rpi3', | |
method: 'GET', | |
paramsSerializer: [Function], | |
headers: | |
{ 'Accept-Encoding': 'gzip', | |
'User-Agent': 'google-api-nodejs-client/0.7.2 (gzip)', | |
Authorization: 'Bearer ya29.c.KqUB2AeOT8Trc-dZUu7XA3tV1_P81ZWFwcAFqunQqxwHDxWbXJ9iruzayiYsCbmNB5WSvOt55X8QPCzZk_kM-W1PlBlRb6TSHeWFdRQ_OvGbwUIKB_U0hiJlenMT8paVHKXC1OEzg818xK-DINJLivn7orKosVGknvlFvfQTbg70LR-rvrd78Ngh3gzxPUPfgXOvkEPLoJBUJPwFlPfSazR5xSmwuZ9D', | |
Accept: 'application/json' }, | |
params: {}, | |
validateStatus: [Function], | |
responseType: 'json' }, | |
code: 404, | |
errors: | |
[ { message: 'A device with the name \'projects/casaminha-2e0ca/locations/us-central1/registries/iotcore-registry/devices/rpi3\' doesn\'t exist.', | |
domain: 'global', | |
reason: 'notFound' } ] } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment