Hi,
I tested your code on S32K144EVB-Q100 and with PCAN tool connected I see CAN FD message periodically received. Using a debugger no error is detected on FlexCAN module.
In you case error frame is sent, I guess. You can check module MCR/ECR/ESR1 registers to see a state and error detected. If using S32K144EVB-Q100 as well on your side, be sure board is powered by 12V and SBC CAN transceiver is active.
BR, Petr