I am trying to create data extension from PHP application into Salesforce Marketing Cloud and I am following this documentation. However when the page actually renders, I am getting error "Page isnt't working" After I looked into code found that there is space in below line between Marketing and CloudSoapClient:

$client = new Marketing CloudSoapClient($wsdl, array('trace'=>1));

Is this normal? Because if I remove that line or comment that line, everything again seems working normal means no errors but functionality still doesn't work.

1 Answer 1


Looks like a typo to me -- a poorly executed search and replace in the documentation.

I'm guessing it doesn't match the PHP SDK method you're using either.

I've found that the SOAP envelopes are the best examples on how to structure SFMC API calls. There's are a few of those farther down on the page you referenced.

I'd use the [+] Feedback button at the bottom of the page and let them know it's not correct.

  • Thanks Adam. Will look into the SOAP and give it a try. Thanks for pointing me there.
    – sf_user
    Mar 30, 2017 at 13:54

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .