Air fried sweet potatoes have black dots on them
Those are just burnt or almost-burnt spots where the sugars in the sweet potatoes caramelized a bit too much. It's possible the potatoes are still palatable - taste them.