Order State is Unknown

I have written a code in Indicator to listen to OrderUpdate events. I do see get order state as Unknown. Why the state is in unknown state ? How do I know the actual state of the order ? I have written some logic which is heavily depends on Order State.

Sample Order Log:

NQ15MO_Altarget-515363-0393F72A 225 State : Unknown orderId=‘b13fa7fb0e4949cf9e3c489a54c9f655’ account=‘BX67617-02’ name=‘NQ15MO_Altarget-515363-0393F72A’ orderState=Unknown instrument=‘NQ JUN25’ orderAction=Sell orderType=‘Limit’ limitPrice=21745.25 stopPrice=0 quantity=1 tif=Gtc oco=‘’ filled=0 averageFillPrice=0 onBehalfOf=‘’ id=225 time=‘2025-06-04 08:23:05’ gtd=‘2099-12-01’ statementDate=‘2025-06-03’