I get an error while deploying my laravel project on google cloud app engine.
This is the error:
ERROR: (gcloud.app.deploy) Error Response: [7] The user "service-account-email" must have permission to read the image at us.gcr.io/"my project name"/appengine/default.20170907t141350:latest
I have also created service account and also give editor's role, even tried to repair using
https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps/repair
and gave permission to create instances.
But I still keep getting this error
Anyone help me please?
Thanks
Related
I'm trying to use a 3rd party app that requires gce_client_id and gce_client_secret keys. In order to generate them, I browsed to the Credentials icon and tried to create an OAuth 2.0 Client ID. However, the system offers me 7 different types of apps but none of them fits the app profile. The app is supposed to be run from a gce VM and spin up other gce VMs so it really has nothing to do with web apps or similar. Am I doing this right or is there any other way to generate the gce id and server keys? Thanks.
P.S. I tried using the keys generated using the option: "Desktop app" but it's producing the following error:
ERROR Error creating instance <HttpError 403 when requesting https://compute.googleapis.com/compute/v1/projects/watchful-origin-244417/zones/us-central1-a/instances?alt=json returned "Request had insufficient authentication scopes.">
2020-08-10 18:08:11 deployator0002 elasticluster[3768] ERROR Could not start node compute002: Error creating instance <HttpError 403 when requesting https://compute.googleapis.com/compute/v1/projects/watchful-origin-244417/zones/us-central1-a/instances?alt=json returned "Request had insufficient authentication scopes."> -- <class 'elasticluster.exceptions.InstanceError'>
Firstly, this post has nothing to do with elasticsearch as that app is totally unrelated to elasticluster which is the app of interest (probably no need to change the original tags). The fact is that Google changed the options for OAuth 2.0 and eliminated the 'Other' option from its list of app types. That was the origin of the issue and the developer is already aware of it. Thanks.
When I tried to open sendgrid through heroku I get this error:
Access to sendgrid.com was deniedYou don't have authorization to view this page.
HTTP ERROR 403
Does anybody know how to solve this problem?
Thanks
Seems to be a recurring issue on SendGrid's side.
You can try to log in at https://app.sendgrid.com/login via the username and password set in the Heroku config. You probably get an authorizzation error saying to contact SendGrid support. Trying to re-create the addon from the CLI will show User status - banned.
You need to contact support. You can only do that with a registered account though. At this point you might decide to look for a better service. :(
See also this post: https://salesforce.stackexchange.com/q/298044/95552
Node command, as suggested by the tutorial, is not working and throws 403.
node automlNaturalLanguageDataset.js import-data
I had some issues passing parameters, so hard-coded, project id, compute region, etc. I was able to run create-dataset, list-datasets successfully, just not import-data. Error I get:
Error: 3 INVALID_ARGUMENT: Error encountered when accessing gs://<my project id>/csv/happiness.csv, error code 403, error details custom-vision#appspot.gserviceaccount.com does not have storage.objects.get access to <my project id>/csv/happiness.csv.
I invoked gcloud projects add-iam-policy-binding as in the document with my own service account name but it looks like it is pulling the example service account name used in the tutorial. I checked js code as well my environment, could not find this account name. Any idea what I am missing?
Tutorial I am following is at https://cloud.google.com/natural-language/automl/docs/tutorial.
Aside from your own service account, you have to allow also AutoML Natural Language service accounts to access your Google Cloud project resources. As instructed in item#9 of the tutorial, you can run the following command:
gcloud projects add-iam-policy-binding project-id --member="serviceAccount:custom-vision#appspot.gserviceaccount.com" --role="roles/storage.admin"
I was trying to add the google login to my laravel project. but it gives a Client error. Given below is the error i got. I successfully installed the socialite as well.
Client error: `GET https://www.googleapis.com/plus/v1/people/me?prettyPrint=false` resulted in a `403 Forbidden` response: {"error":{"errors":[{"domain":"usageLimits","reason":"accessNotConfigured","message":"Project 983930379932 is not found (truncated...)
Go to https://console.cloud.google.com/apis and enable Google+ api.
Took me 3 hours to find out that Google Cloud does not automatically enable the api for you when you create OAuth service.
Remember you have to register your google app within googles service as well. That error if I remember correctly is simply telling you that you aren't allowed to use google services.
I am not super sure if this steps are up to date, but it shouldn't be that different: https://itsolutionstuff.com/post/laravel-5-google-oauth-authentication-using-socialite-packageexample.html
First Open your Google Console Account from Here : console.developers.google.com
Select your project.
After this you have to click on google+ API detail page.
Now we can enable API.
I have had access to this page for a while now. Yesterday for test I had to disable the HomeGraph API and now it is no longer available and does not even show up while searching in the api library
And when I try to access this link HomeGraph API Details I get "You do not have sufficient permissions to view this page. " error
Image to the error
Any one encountered this before?
I have tried logging out of all my devices
On top of this I starting getting the below while executing gactions -verbose test
Reading credentials from: creds.data
ERROR: Failed to test the app for the Assistant
ERROR: Internal error encountered.
2018/01/06 21:31:52 Server did not return HTTP 200
gaction update works just fine.
I just followed Creating a Smart Home App docs and went straight to Request Sync. Followed the instructions and created a new project. I made sure I was "Owner" of the project, and had no problem enabling the Home Graph API:
And here's Home Graph API being enabled: