We consistently get error codes 1003 and 1006 and I cannot find these definitions in documentation anywhere..
Anyone have any experience or idea what these codes means?
1003 is usually an authentication error, 1006 is service could not be contacted
Both of these are based on my experience, may not be precisely correct in this case
Thanks Jamie. Do you know where I can dive into the actual error message attached to the codes? Like what lead or smart campaign or service triggered the authentication error, or timeout? There's no actual information I can review to determine what's causing the errors, and how to fix them.
You can find a full list of codes here: Error Codes » Marketo Developers
1003 means that a business rule was violated by the data submitted in the call. The specifics will be variable according to the type of call and the request made. If you have an example request we could let you know why you might be getting it.
1006 means that a field was submitted for a Lead, Company, Opp...etc. which does not exist in the target instance. If you catch and log the response, it should provide the name of the invalid response.
I received multiple 609 codes over the weekend:
Looking at the list of developer codes, this means:
Knowing that, any idea what action I need to do in order to fix the error?
Thanks for your help!
You have to find the client app that caused the error.
Then make sure the JSON stringifier and related request logic always passes valid JSON.
It's impossible to say more without a look at an offending payload. JSON syntax is extremely well-known, so if you're using a standard JSON encoder (i.e. not building your own JSON string) I expect the problem is more like an undefined/empty var, etc.
I wish Marketo would list the API user that triggered the error, include the definition beside the error code, and include the other details that are captured in their log. That'd make troubleshooting a little easier.