Aerosol cooking spray isn't recommended for air fryers as the spray can cook onto the surface of the air fryer basket, damaging the non-stick coating. You can use a non-aerosol oil spray instead or toss the vegetables in 2 to 3 teaspoons of regular oil until well coated.