api.reformat shouldnt throw errors, it should return result, not data