Totally agree with you. The API connector should have built-in features for error handling