One of the most common reasons is that you
have left the gas lid open or loose. You can check if it seals well. It may take a few days for it to reset.
It might be also caused by a bad senser. Our BMW dealer told me not to worry to much about it. I had it fixed by the dealer any way.