[TIMOB-15871] Only call onError on response codes 400 and above

https://jira.appcelerator.org/browse/TIMOB-15871