PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/mcm/v201605/CustomerService?wsdl' : Start tag expected, '<' not found

639 views
Skip to first unread message

Jay Carter

unread,
Dec 6, 2016, 9:45:09 AM12/6/16
to AdWords API Forum
Hello,

Today we've been receiving this error:

PHP Fatal error:  SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://adwords.google.com/api/adwords/mcm/v201605/CustomerService?wsdl' : Start tag expected, '<' not found

We have in fact been receiving this same error a few times every few months (starting on the 24th of July this year), but it usually fixes itself after a short time.

I've tested with file_get_contents and cURL, and both of them work fine. 

Is this an error that you're aware of?

Thanks,
Jay

Shwetha Vastrad (AdWords API Team)

unread,
Dec 6, 2016, 2:14:22 PM12/6/16
to AdWords API Forum
Hi Jay,

Could you check that you have enabled OpenSSL? Since you are loading the WSDL from https, you should enable OpenSSL. Since this looks like it's mostly an issue specific to the AdWords API PHP library, I would suggest that you post your query in the library's repository. 

Thanks,
Shwetha, AdWords API Team.

Jay Carter

unread,
Dec 7, 2016, 1:31:13 PM12/7/16
to AdWords API Forum
Hey Shwetha,

Yes sorry I forgot to mention we have OpenSSL enabled.

It is now working correctly as of today. We haven't made any changes. Have you heard anything since your last post?

Thanks,
Jay

Shwetha Vastrad (AdWords API Team)

unread,
Dec 7, 2016, 5:34:37 PM12/7/16
to AdWords API Forum
Hi Jay,

Thanks for confirming this. As far as I know there haven't been any issues or changes associated with this. Please do let us know if you encounter this in the future. 

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages