ApiErrors type added