What is the meaning of [On thin ice]

On probation. If you make another mistake, there will be trouble.