Initial batch of bikes were incorrectly configured–reports are that the 790 Duke fuel tank settings were used, confusing the fuel gauge. All of those should have been fixed by a dealer reflash, most of 2019 and all 2020+ bikes should not be affected.
This failure mode is easy to spot. If the instrument panel indicates an empty fuel tank but the range indicator indicates many miles/kilometers available as the picture below shows then your bike is affected.
In the US (where they use weird unit of measure) it is possible for the dealer to switch the bikes to miles but for them to forget to switch the fuel cons to mpg. Those are controlled by two separate settings in the menu. Easy to fix, but may be confusing.