Boiled potatoes and eggs will not be toxic, and there will be no conflict between the two at the same time. If you feel uncomfortable after eating, it is mostly because the potatoes germinate or turn green and are not cooked.
If it is fully cooked, it will not be toxic, because there is a toxic substance called solanine in potatoes, which can agglutinate red blood cells in human blood. If the human body ingests this substance in large quantities, it will cause acute poisoning. Most of this toxic substance is concentrated in the potato skin, and the light will turn the potato skin blue. Solanine will increase with the deepening of potato skin color, so be sure to peel it when eating, especially to clean the potato skin that has turned green.