Calculate properly returns api errors now