Wash and peel the sweet potatoes and dice into bite sized pieces (about ½ inch cubes).
Place sweet potato cubes in a large bowl and toss with olive oil until evenly coated.
In a small bowl, combine the garlic powder, onion powder, chili powder, smoked paprika, salt and pepper.
Sprinkle the seasoning mixture over the sweet potatoes. Toss the sweet potatoes until they are coated with spice mixture.
Place sweet potatoes in the air fryer (you may need to work in 2 batches depending on air fryer size to avoid overcrowding).
Cook on the air fry setting at 400 degrees Fahrenheit for 15-20 minutes, stopping to shake the basket occasionally, until the potatoes are cooked through and lightly browned.
Garnish with parsley (if desired) and serve immediately, enjoy!