What is the cause of the error "A stream must either be a resource or a string" ?

230 views
Skip to first unread message

Hiroshi Akiike

unread,
Mar 5, 2018, 4:09:31 AM3/5/18
to AdWords API Forum
I have been using the AdWords API for about two years.
I am using AWSQL to get reports on advertising expenses etc. to ReportDownloader.
For the same account, there are times when values can be acquired correctly and exceptions (error messages are as follows) may occur.

     A stream must either be a resource or a string

Do you know the cause?
Under the same conditions, there are times when errors occur and normal times, so accidental? 


[The usage environment is as follows]
  AdWords API  v201708
  googleads-php-lib 29.0.0
  PHP 7.0.23

Dhanya Sundararaju (AdWords API Team)

unread,
Mar 5, 2018, 11:36:02 AM3/5/18
to AdWords API Forum
Hi Hiroshi,

This error looks environment related. Please check out this post if it addresses your issue. If not, could you please reply back with your logs and report definition, so that we can troubleshoot further?

Regards,
Dhanya, AdWords API Team

Hiroshi Akiike

unread,
Mar 5, 2018, 5:30:41 PM3/5/18
to AdWords API Forum
Hi, Dhanya

I do not use Monolog, trouble seems to be another problem.
Since it was only taking a simple log, I will reproduce it, send out a log, a report definition again.

Thank you.
Reply all
Reply to author
Forward
0 new messages