the Detroit Pistons had a losing streak of 27 games during the 1979-1980 NBA season, which tied the record for the longest losing streak in NBA history. However, this information might have changed since then. I recommend checking the latest NBA records and statistics to confirm if any new records have been set since then.