Hello Thomas,

At this time, this behavior is working as intended. The error message you 
are getting means in this situation that no file by that name could be 
found. That is because the PHP local development server emulates Cloud 
Storage streams 
<https://cloud.google.com/appengine/docs/standard/php/tools/using-local-server#storing_data>
 by 
reading and writing to local storage on your machine and doesn't touch the 
production Cloud Storage.

On Thursday, August 10, 2017 at 3:36:55 PM UTC-4, Thomas Valadez wrote:
>
> Yeah I am getting the same error. I moved the target json file to the root 
> directory of the bucket, and used `echo 
> file_get_contents("gs://test-appdocs-sendgrid-inbound/envelope.json");` as 
> suggested. However I get the same error: 
> `Warning: 
> file_get_contents(gs://test-appdocs-sendgrid-inbound/envelope.json): failed 
> to open stream: 
> "\google\appengine\ext\cloud_storage_streams\CloudStorageStreamWrapper::stream_open"
>  
> call failed in /Users/thom/Engine/appdocs-com/main.php on line 18`
>
> On Thursday, August 10, 2017 at 1:05:05 PM UTC-6, George (Cloud Platform 
> Support) wrote:
>>
>> Hi Thomas, 
>>
>> Is the same error triggered if you run the `echo 
>> file_get_contents("gs://test-appdocs-sendgrid-inbound/envelope.json");` 
>> command, which assumes you had copied the envelope.json file in the root 
>> directory of the bucket, i.e. under 
>> gs://test-appdocs-sendgrid-inbound/envelope.json? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f3b77eb9-2d6f-4feb-b094-431643023314%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-appengine... Thomas Valadez
    • [google-appe... 'George (Cloud Platform Support)' via Google App Engine
      • [google-... Thomas Valadez
        • [goo... 'George (Cloud Platform Support)' via Google App Engine
          • ... Thomas Valadez
            • ... 'George (Cloud Platform Support)' via Google App Engine
              • ... Thomas Valadez
                • ... 'Yannick (Cloud Platform Support)' via Google App Engine
                • ... Thomas Valadez
                • ... Thomas Valadez
                • ... 'Yannick (Cloud Platform Support)' via Google App Engine
                • ... Thomas Valadez

Reply via email to