8017A1 is a fault stored in your BMW's memory (an ISTA fault code, not a standard OBD-II P-code).
What it means: Tailgate module (HKFM): the soft-close function of the LOWER tailgate section is available only to a restricted extent. Usually follows a lock fault or obstruction of the lower flap (see 80178F and other HKFM codes). If the lower flap closes and latches properly, clear the code; if soft-close does not pull it shut, clean the locks and have the soft-close drive checked.