air fry the sweet potato cubes at 400f for 10 minutes. give the basket a shake and spray a bit of oil on top and air fry for another 5 minutes.