Why am I getting this grey line in UE 5 ????

Seems this thread had a similar problem regarding skylights in the end. Was something about the height setting of the world.

Found a video that mirrors your situation with a fix