I tried to make use of the PHP sample snippet on Update Landing Page Template Content by Id » Marketo Developers with substituting my REST API URL, client_id, client_secret, and a simple template file. It simply produces bool(false) as a result.
When I used a slightly different equivelent, I found that my REST call results in... object(stdClass)#3 (3) { ["requestId"]=> string(16) "e714#153c7bf644f" ["success"]=> bool(false) ["errors"]=> array(1) { [0]=> object(stdClass)#4 (2) { ["code"]=> string(3) "611" ["message"]=> string(12) "System error" } } }
What's up with the mysterious error code 611?
// Victor
Solved! Go to Solution.
It was a simple programming error on my part. All is well in the world. Thanks!
Interestingly, the C# snippet works like a charm; as a "Console Application" created using Visual Studio 2015 in Windows 8.1
I responded on StackOverflow as well, but could you provide what exactly you're posting? You can just add some debug statements inside the postData for $url and $this->content? Please redact your access token as well.
I shall endeavour to do this ASAP, thanks!