Hello,
New Marketo user, trying to get started on the REST APIs.
Am able to successfully create an oauth token, and am able to call various REST APIs (e.g. "/stats/usage/last7days.json"). However, when I try and update a lead - e.g.
curl --data '{"action":"updateOnly","lookupField":"email","input":[{"email":"testLead@gmail.com","firstName":"UpdatedFirstName"}]}' --header "Content-Type:json" https://our_instance.mktorest.com/rest/v1/leads.json?access_token=validAccessToken
(obviously our_instance and validAccessToken are correct!) I get
{"requestId":"1197d#14a4d561cce","success":false,"errors":[{"code":"611","message":"System error"}]}
as a response. I'm trying to use the email field to look up the contact I want to update, and then change their first name.
Any clues?!
Thanks
Jon.