I had a similar problem as you did. It turned out that I did not file out Section D1 & D2 from a K-1 with the same information in my 2023 return, so it did not carry forward the correct total. Assuming from a K-1, How did I fix it? Goto the Step by Step, in the last category "Business Items", and go thru every step by step. There are three areas where the loss carryforwad shows up:
"Regular Tax Carryovers", Any QBI carryovers, QBI suspended loss (regular tax table & QBI deduction). So I entered the correct amounts in these three areas, and that fixed the problem.
Hope this helps.