WARNING: This page is about a different car, the 2014 Hyundai Santa Fe Sport and 2013 Hyundai Santa Fe Sport. However, it is still accessible from the selected car via links, so may be relevant.
Check for continuity between the Liftgate latch terminals.
Fig 1: Identifying Liftgate Latch Terminals
Courtesy of HYUNDAI MOTOR AMERICA
If continuity is not specified, inspect the switch