For this recipe, all-purpose flour works best because it helps hold the potato filling together and makes the patties crispy. But if you don't want to use gluten, you can try other flour like chickpea flour or rice flour.