Everything here is from the references shown below, with a few comments in an alternate color.
If the nosewheel becomes jammed beyond 1.5° of neutral, the landing gear will not retract and the Steer By Wire Fail (caution) CAS message will be displayed.
It is possible that the landing gear safety pins were not removed. The landing gear cannot be retracted if the landing gear safety pins are installed.
Gulfstream GVII-G500 Airplane Flight Manual, Revision 4, August 29, 2019
Gulfstream GVII-G500 Production Aircraft Systems, Revision 3, July 15, 2019
Copyright 2019. Code 7700 LLC. All Rights Reserved.