SOLVED

Re: Does REST API "Update Landing Page Template Content by Id" still work?

Go to solution
Anonymous
Not applicable

Does REST API "Update Landing Page Template Content by Id" still work?

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

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Does REST API "Update Landing Page Template Content by Id" still work?

It was a simple programming error on my part. All is well in the world. Thanks!

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Re: Does REST API "Update Landing Page Template Content by Id" still work?

Interestingly, the C# snippet works like a charm; as a "Console Application" created using Visual Studio 2015 in Windows 8.1

Kenny_Elkington
Marketo Employee

Re: Does REST API "Update Landing Page Template Content by Id" still work?

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.

Anonymous
Not applicable

Re: Does REST API "Update Landing Page Template Content by Id" still work?

I shall endeavour to do this ASAP, thanks!

Anonymous
Not applicable

Re: Does REST API "Update Landing Page Template Content by Id" still work?

It was a simple programming error on my part. All is well in the world. Thanks!