marketo-rest-api icon indicating copy to clipboard operation
marketo-rest-api copied to clipboard

Provides getErrors() method for Response class, so you can work with array of errors form response.

Open akhromium opened this issue 8 years ago • 0 comments

I's great to have array or errors, so you can parse errors messages and perform additional actions. As example: you pass some non-existing (in some cases) custom fields in getLeadByFilterType request, marketo will returns 2 errors. You can parse them, delete from request and try again, but you need array of error messages to get incorrect field names.

akhromium avatar Apr 21 '16 14:04 akhromium