Why fuel gauge shows empty when tank is full?,Why service engine soon appears? on 2006 Nissan Frontier

The empty tank indicates any time the tank is filled full. When the service engine soon is removed it comes back immediately the tank is filled full.

Asked by for the 2006 Nissan Frontier
Maybe faulty fuel level sending unit of faulty guage cluster or wiring issue