more error-checking. (apparently Marketo's docs are not in sync with their actual API implementation...)