Possibly a bad Oxygen sensor. If it gives a false signal to the computer, then the computer may think that the catalytic converter isn't working property. It's much cheaper to replace an O2 sensor than a cat.
How many miles on your ride?
2002 BMW 325i