Add the sweet potato cubes to a pot of salted water.
Boil until fork-tender, about 12–15 minutes.
Drain well and let them sit for 1–2 minutes so extra moisture escapes.
Add sweet potatoes to a large bowl and mash until mostly smooth.
Add chickpeas and gently mash again, leaving some texture.
Stir in red onion, garlic, cilantro, cumin, smoked paprika, salt, and pepper.
Add chickpea flour and mix until the mixture holds together when pressed.
Shape into 8 evenly sized patties.
Heat oil in a skillet over medium heat.
Cook patties for 3–4 minutes per side until golden and crispy.
Remove from pan and let rest for 1 minute before serving.