Catch errors from json parsing of credentials...