Found this small, hard, brown pill-shaped object behind my kitchen cabinet. It has a weird ridge on the side and looks like a dried bean. What is this?

observed.
The ridge along the side is a unique feature of the ootheca, which distinguishes it from similar-looking objects such as seeds or dried beans. This ridge functions as the hatch line where the young cockroaches will emerge. If you find an object that matches these descriptions, it is likely a cockroach egg case.
4. Common Household Spots Where Cockroach Egg Cases Turn Up 
Cockroach egg cases can be found in various hidden and sheltered areas within a home, particularly in the kitchen. Common spots include behind kitchen cabinets, under appliances like stoves and refrigerators, inside pantry shelves, and even within cracks and crevices in walls or floors.
Cockroaches prefer dark, warm, and humid environments, which provide the ideal conditions for their eggs to hatch. Therefore, regularly inspecting these areas can help detect the presence of oothecae early on, allowing for timely intervention to prevent a larger infestation.
5. How