80177C 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): automatic tailgate operation — an obstruction (blocking) was detected, so the drive stopped or reversed. This is the anti-trap protection, NOT a fault: something was in the way, the tailgate was held by hand, or it was heavily loaded/iced. Nothing needs to be done — clear the code; if it happens without any obstruction, check the tailgate struts/drive.