(Resolved) Unable to place order after new Auth changes

Hey Dhan team.

After the authentication changes to use API, I modified the algo with latest changes, but now I am not able to place any order via api.

I am subscribed to the order feed, and it works as expected, but the moment I place an order, I am getting error.

res = dhan_api.place_order(security_id="60442", exchange_segment="NSE_FNO", transaction_type="SELL",
            quantity=75, order_type="STOP_LOSS", product_type="INTRADAY", price=3, trigger_price=3.1 )

{‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-905’, ‘error_type’: ‘Input_Exception’, ‘error_message’: ‘Missing required fields, bad values for parameters etc.’}, ‘data’: ‘’}

same code used to work before, not sure what to do here

Hey @Kush

Can you confirm with the timestamp when did you get this error last?

@Hardik pretty much the entire day
I am subscribed to order feed, when i buy an option, i get the order details. Using those details I place 2 stop loss orders of half qty of buy order each.

sometimes one of the orders was being placed, and sometimes none

[2025-09-30 11:07:27] one of those timestamps

Hey @Kush

Can you monitor this for today as well? This shouldn’t be happening now. We are also actively monitoring logs at our end.

@Hardik
I bought 25800 CE today, single lot and placed SL order using api.
Order got placed. but api is still returning wrong response

{‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-905’, ‘error_type’: ‘Input_Exception’, ‘error_message’: ‘Missing required fields, bad values for parameters etc.’}, ‘data’: ‘’}

res = dhan_api.place_order(security_id=“38430”,

exchange_segment=dhan_api.NSE_FNO, transaction_type=dhan_api.SELL,
            quantity=75, order_type=dhan_api.SL, product_type=dhan_api.INTRA, price=1.5, trigger_price=1.55)

Hey @Kush

Can you share your Client ID over DM, will get it checked.

@Hardik not sure how to dm, can you dm me instead

I too hit this issue today with new auth changes.

2025-10-01 09:37:28,770 341 INFO: {‘status’: ‘failure’, ‘remarks’: {‘error_code’: ‘DH-905’, ‘error_type’: ‘Input_Exception’, ‘error_message’: ‘Missing required fields, bad values for parameters etc.’}, ‘data’: {‘errorType’: ‘Input_Exception’, ‘errorCode’: ‘DH-905’, ‘errorMessage’: ‘Missing required fields, bad values for parameters etc.’}}

@Hardik any update, not sure how to dm you
this is really important

Hey @Kush

Are you using API key based token or normal access token generated from web?

@Hardik api key token

Hey @Kush

This was resolved last week itself, post your feedback. You should be able to use it seamlessly now.