Preheat the oven to 170°C (338°F).
Melt the dark chocolate and unsweetened cocoa powder together using a double boiler.
Mix the eggs and erythritol well.
Add the melted chocolate and cocoa powder to the egg mixture.
Add almond flour, baking powder, and salt, and mix until well combined.
Pour the batter into a cake pan lined with parchment paper.
Bake in the preheated oven for 25 to 30 minutes.
Let it cool, then cut into pieces.