Return reject on error