Bad GPS Position Arm Problem

Hello. I’m trying to arm my quadcopter attached to my Pixhawk4 from the mission planner. There is arming in stabilize and althold, but I get “bad GPS position” error in loiter and it does not arm. I didn’t enable geo fence. EKF vibe GPS is visible. 3D GPS also appears. What could be the problem?