Preheat the oven to 160°C Fan/180°C/350°F.
Lightly grease an 8-inch square cake pan. Line the bottom and sides with parchment paper.
In a bowl, sift flour, sugars, cocoa powder, baking powder, baking soda and salt. Set aside.
In a separate bowl or jug, whisk together eggs, oil, sour cream, milk and vanilla.
Add wet ingredients to dry ingredients and whisk until just combined.
Dissolve espresso powder in hot water and stir into the cake batter until incorporated,
Pour batter into the prepared pan and place in the oven. Bake for 30-40 minutes or until a toothpick inserted into the cake comes out clean with a few crumbs sticking to it.
Place the cake pan on a cooling rack and cool for 30 minutes before removing it from the pan and cooling completely.