1. In a food processor, mix together the cod fillets, shallot, garlic, mashed potato, breadcrumbs, thyme, and egg. Season with salt, onion powder, and pepper. Mix thoroughly. Spoon about 1 tablespoonful of fish mixture and form to make bite-sized nuggets.
2. Place some that can fit in your Air Fryer basket (do not stack). Cook in the Air Fryer for about 15-20 minutes that is set to 400 F (200 C); turn halfway through cooking time to cook evenly.