Hello! Welcome to our forum!
You seem to be getting this issue because the flight had no waypoints in it. Could you confirm that the export works if you add a waypoint?
We shall investigate if we can make the export work even without waypoints, but I am not sure it is supported by PMDGs format.
Kind Regards,
Malte