Recurring Issue in NaturalGas on every expiry day via API

I posted one issue last month mentioning how I get errors via API while putting market orders on NaturalGas commodity on every expiry day since last few months.

Todays is an expiry day and the same issue has occurred again. Can you please do something about it.

Last Month Post:

https://fyers.in/community/t/issue-in-naturalgas-on-every-expiry-day-via-api/21726

Latest Log details:

(I’m using same symbol and code and it doesn’t fail but fails every time on expiry day)

2025-03-26 17:20:30,017 - NaturalGas_2025-03-26 - INFO - Attempting to place market order: {‘symbol’: ‘MCX:NATURALGAS25MARFUT’, ‘qty’: 1, ‘type’: 2, ‘side’: 1, ‘productType’: ‘MARGIN’, ‘limitPrice’: 0, ‘stopPrice’: 0, ‘validity’: ‘DAY’, ‘disclosedQty’: 0, ‘offlineOrder’: False, ‘stopLoss’: 0, ‘takeProfit’: 0}

2025-03-26 17:20:30,256 - NaturalGas_2025-03-26 - INFO - Order response received: {‘code’: -50, ‘message’: ‘Invalid input’, ‘s’: ‘error’}

2025-03-26 17:20:30,256 - NaturalGas_2025-03-26 - WARNING - Order status not complete. Status: error, Code: -50

2025-03-26 17:20:30,256 - NaturalGas_2025-03-26 - WARNING - Retrying to place market order. Attempt 1

2025-03-26 17:20:30,478 - NaturalGas_2025-03-26 - INFO - Retry order response received: {‘code’: -50, ‘message’: ‘Invalid input’, ‘s’: ‘error’}

2025-03-26 17:20:30,486 - NaturalGas_2025-03-26 - WARNING - Order status not complete. Status: error, Code: -50

2025-03-26 17:20:30,486 - NaturalGas_2025-03-26 - WARNING - Retrying to place market order. Attempt 2

2025-03-26 17:20:30,714 - NaturalGas_2025-03-26 - INFO - Retry order response received: {‘code’: -50, ‘message’: ‘Invalid input’, ‘s’: ‘error’}

2025-03-26 17:20:30,714 - NaturalGas_2025-03-26 - WARNING - Order status not complete. Status: error, Code: -50

2025-03-26 17:20:30,714 - NaturalGas_2025-03-26 - WARNING - Retrying to place market order. Attempt 3

2025-03-26 17:20:30,936 - NaturalGas_2025-03-26 - INFO - Retry order response received: {‘code’: -50, ‘message’: ’

Hi Ankit Prajapati,

Apologies for the inconvenience.

We tested this with the current month’s contract, and it’s working fine. We will monitor the upcoming expiry day and debug any issues if found. I’ll keep you updated.

Hi @ankit_prajapati1,

We tested with today’s expiring contracts and were able to place market orders successfully. Could you please recheck and confirm from your end?

@naresh_janagama : I will update you here when the May month Natural Gas FUT contracts expire.

Sure, @ankit_prajapati1,

Did you face the same issue during the April expiry? Please confirm.