I'm sorry the reaction didn't work out for you, but you'll have to figure out, on your own what went wrong, because we don't discuss explosives manufacture on this forum. You should, of course, have used the proper reagents, not "similar" ones, and they should have been of decent purity 99%+. If you have access to the reagents, then you should know to be careful. And, if you insist on D-I-Y priming cap material -- please look up silver fulminate. Sounds expensive, but also less toxic than mercury.
*Topic Locked*
And watch your fingers. It doesn't work like on the TV show Breaking Bad.