-
Notifications
You must be signed in to change notification settings - Fork 57
'No project ID was provided, ..." on GAE #44
Comments
I got the same issue from a fresh deployment on GAE. I think gcs-media-plugin dependency evolved somewhat and it now depends on GoogleCloudPlatform/google-cloud-php which does not seem to have project ID detection capability for the GAE platform. A dirty patch is to specify your GCP project in gcs.php file: $config = ['projectId' => 'my-gcp-project'];
$storageClient = new \Google\Cloud\Storage\StorageClient($config); |
Is this on App Engine Standard or Flexible Environment? |
@chingor13 standard. |
@CaptainPatate ok, it works. |
@presveva good :) Yes, this appears on App Engine Standard and I think I found the underlying issue. I was not able to find the link back when I wrote my first comment, but here it is now: googleapis/google-auth-library-php#135 |
@CaptainPatate thank you for the workaround. |
Your fix worked for me @CaptainPatate! Thanks! |
FYI For some reason, some official Google cloud librairies expect a |
@CaptainPatate when you deployed to your domain, where did you save your package.json file? |
@jgacuca567 I don't remember having any file named |
@CaptainPatate I meant your json file, when you deployed to example.com where did you save the file? Mine works locally but when I run gcloud app deploy I get the error. |
Oh you mean the |
@CaptainPatate even though the site works locally on |
@JamesVanWaza I don't know if you still are having the issue. But I was having this issue when my .json key was saved to my project root. I moved it to |
@ran-dall do you mind, creating a video, showing the fix? How can I assist? |
@JamesVanWaza I'd be happy to create a video or walkthrough of some kind for you. I don't have time right now cause I'm about to leave for the holiday but maybe during, I'll have some extra time. I created an issue (#61) before with some details, have you checked that? |
@JamesVanWaza I apologize for not seeing your message. 😁. I'll look into it over the next couple of days and let you know what I come up with... |
@ran-dall its been 5 months. Any help? |
The Issues section of this GitHub repository is not the best place to get such questions answered quickly. I recommend bringing your question to one of the forums described here: Many members of the GCP community---including Google employees and other experts---help out on those forums. |
I'm facing the same error of #38 but I'm on a GAE project.
Any idea what I could forget?
The text was updated successfully, but these errors were encountered: