Hi, I have a rest API to update lead information in Marketo. This rest api comes up with error as 'Invalid value 'Converted' for Status field. I have not created this field and I can see through admin that this field is of type String. I tried passing differnet values for this field but it always comes with an error for any value. When I try to export the fields it does not have status field instead it has leadStatus field which I don't see from the admin, but I can update that field. Can someone please clarify? I saw another similar question where user noticed that this happened during recent update. Is there any way to delete the field?
I tried your situation with REST "Update Lead" API, and it work fine.
I do not understand what is happen. I attach my JSON request and response sample. Check your JSON or show me your JSON request & response.
Hi Takehiro, Thanks for your response. Using 'leadStatus' as name works. But from admin view I see field is named as status, hence I was using status as API Name. Anyways my issue is resolved. I found out from another discussion that there is a legacy toggling between 'Status' and 'LeadStatus' fields in Marketo system and it is not documented.