make sure calls with errors contain error key in data