Wash the shallots or pearl onions, peel and chop thinly, keep this aside.
Wash the red cowpeas and soak in enough water for about half an hour.
After half and hour of soaking, discard the water used for soaking the cowpeas and rinse the cowpeas lightly in water in again.
Transfer the washed and soaked cowpeas to a pressure cooker, add 3 cups of water and enough slat, mix well.
Close the pressure cooker with lid and safety valve and cook the red cowpeas in medium heat for about 12 minutes or until 3 to 4 whistles come so the cowpeas will get get cooked and be soft in texture.
After 12 minutes of cooking, switch off the cooker and wait for the pressure cooker to cool down.
Once the pressure cooker is cooled enough, open the cooker and see if the red cowpeas (vanpayar) is cooked and soft.
Now, do not drain or discard any little water remaining in the pressure cooker after the cowpeas is cooked as we will use it.
Heat oil in a pan and fry the chopped shallots and red chilies.
Transfer the contents of the pressure cooker to the pan, be cautious as to not spill water or hot oil, and stir everything well.
Add the garlic powder(or crushed garlic), turmeric powder and red chili powder, cook the contents in medium heat for about 2 to 3 minutes so the water content will get reduced if there is any leftover water.
Add the coconut to the pan, and mix everything well. You can see that as you add the coconut to the pan, any remaining water in the pan will get absorbed by the coconut as you cook the mixture for another few more minutes.
Cook the mixture in low to medium heat for another 2 to 3 minutes, meanwhile you can check the salt and add more if needed.
Stir everything well and the prepared red cowpeas (vanpayar) is ready to be mixed with the cooked mashed tapioca.
Now you can add the prepared and cooked mashed tapioca to the pan with red cowpeas and stir to mix well everything so the red cowpeas get blended with the mashed tapioca evenly.
Close the pan and cook the contents together for another 2 minutes in low heat.
After 2 minutes of cooking, switch off the stove and keep the pan away from heat.
Serve hot or keep the dish closed which will make it more and more delicious!