google compute engine - googleComputeEngineR not connecting in R - Error 400 -
example code : https://cloudyr.github.io/googlecomputeenginer/
library(googlecomputeenginer) sys.setenv(gce_auth_file="auth.json" gce_default_project_id="dev-example" gce_default_zone="us-west1-a") gce_auth() gce_get_project("dev-example")
request status code: 400 error in checkgoogleapierror(req) : json fetch error: invalid value 'dev-example'. values must match following regular expression: '(?:(?:[-a-z0-9]{1,63}.)*(?:a-z?):)?(?:[0-9]{1,19}|(?:a-z0-9?))'
the auth.json user credential download.
any suggestion working
opened json file , found correct project_id
Comments
Post a Comment