Make sure the connector is getting in touch with the connector on the sender.
Make sure you didn't use too much teflon tape. IF so, there is no way for the sender to find ground. I use Hylamar sealant that is liquid on these.
Check for the continuity of the unit to the engine block.
ASE CERTIFIED MASTER AUTO TECHNICIAN
MERCEDES SPECIALIST 11 YRS