You probably reversed some wires and set them in the wrong place. It can happen in you have the wrong wiring scheme, or you forget which wire was were. It can happen, and there is nothing dangerous about that. You just need to change places the wires are.
It happened to me, too, and I initially thought it was because of the new guitar picks I got from [link|https://ironageaccessories.com/collections/choosing-the-right-pick|ironageaccessories.com|new_window=true], but it was false. I did not connect the wires properly in some places, which was the reason for the error. The picks I got that time turned out to be more than good, and I still play them.