Agree with all prior comments as to the lack of clarity in your problem description. However, at the risk of making assumptions I'm going to tell you what the likely problem is based on my understanding of what you said, and how to fix it.
I interpret your initial description to be that you had an electrician install a black gen 2 Tesla Wall connector, and that they did this it by creating a pigtail that plugs it into a NEMA 14-50 outlet.
The Gen 2 wall connector has a rotary switch on the inside that must be set to provide the correct current that corresponds with your install. That rotary switch is set to the lowest setting, position 1, from the factory, which limits output to 12 amps.
Again, ASSUMING your 14-50 outlet was installed correctly and with a 50 amp breaker, you need to open the front of the wall connector and set the rotary switch to position 8, which will provide the max continuous current of 40 amps that your circuit is rated to provide. The rotary dial setting is described on page 22 of the manual: