Error Fetching http body, No Content-Length, connection closed or chunked data

194 views
Skip to first unread message

Willy D

unread,
Mar 14, 2016, 8:28:49 AM3/14/16
to AdWords API Forum
Hi,

Since Saturday, I got this error message for all my Adwords API update:
Error Fetching http body, No Content-Length, connection closed or chunked data

There is no code changes or server settings changes these few months. Everything works as usual until yesterday.

I am using PHP5.2.17 and Adwords API v201506.
I searched through the forum and found similar case: https://groups.google.com/forum/#!topic/adwords-api/qY4mzHjtun0
which suggested to upgrade to at least PHP5.3, but the strange part is that it I was using PHP5.2.x all the way (due to complexity I wasn't able to upgrade to later version yet) but it was working before.

Is there any changes in the API recently?
Anyone experiencing the same?

Any help is very much appreciated.

Thanks & Best Regards,
Willy

Yin Niu

unread,
Mar 14, 2016, 10:41:07 AM3/14/16
to AdWords API Forum
Hi Wily, 

The PHP client library requires PHP 5.3 and higher. So you might need to upgrade PHP to at least 5.3 as suggested in the forum discussion you have found. 

Thanks,
Yin, AdWords API Team. 

Willy D

unread,
Mar 14, 2016, 12:54:33 PM3/14/16
to AdWords API Forum
Hi Yin,

Thanks for the reply.

So confirm there was some changes on the API right? 

Is there any temporary solution for PHP 5.2 user?

Thanks again in advance.

Best Regards,
Willy

Thanet Knack Praneenararat (AdWords API Team)

unread,
Mar 15, 2016, 5:02:57 AM3/15/16
to AdWords API Forum
Hello Willy,

PHP 5.2 is unsupported in PHP Ads client lib since release v6.1.
And most developers have migrated to supported versions already.

So confirm there was some changes on the API right? 
Yes, this is because of important security reasons listed in this post in mid 2014.
We have prolonged this change for more than one year and a half.

Is there any temporary solution for PHP 5.2 user?
The only solution is to migrate to PHP 5.3.
I apologize for your inconvenience but could you please migrate to a supported version?

Besides, API v201506 will be no longer supported very soon (11 April 2016).
We highly recommend you to migrate to use v201601 (client lib v8.1.0) or v201509 (client lib v7.0.0).

Cheers,
Thanet, AdWords API Team
Reply all
Reply to author
Forward
0 new messages