There has been a critical error on this website. Please check your
site admin email inbox for instructions.
Learn more about troubleshooting WordPress.
The first thing I thought when I searched the Internet was that my machine did not have enough RAM memory as explained in this forum post:
So I tried to open the logs with SSH on GCP but I seem to be missing permissions:
officialdataguild@the-data-guild-wordpress-website-vm:~$ gcloud app --project data-guild instances enable-debug ERROR: (gcloud.app.instances.enable-debug) User [email@example.com] does not have permission to access apps instance [data-guild] (or it may not exist): Request had insufficient authentication scopes. - '@type': type.googleapis.com/google.rpc.ErrorInfo domain: googleapis.com metadata: method: google.appengine.v1.Services.ListServices service: appengine.googleapis.com reason: ACCESS_TOKEN_SCOPE_INSUFFICIENT If you are in a compute engine VM, it is likely that the specified scopes during VM creation are not enough to run this command. See https://cloud.google.com/compute/docs/access/service-accounts#accesscopesiam for more information about access scopes. See https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#changeserviceaccountandscopes for how to update access scopes of the VM.
The first link allows me to know that I have to enable the associated API in the project.
Access levels only work if the associated API has been enabled in the project to which the service account belongs. For example, granting an access level to Google Cloud Storage on a virtual machine instance allows the instance to call the Cloud Storage API only if you have enabled the Cloud Storage API in the project.
So how can I enable the associated API in my project?