Client ID or user-generated access token is invalid or expired

Hi Team,

I’m encountering the following error:
“Client ID or user-generated access token is invalid or expired.”

It was working perfectly fine for the past week, but this issue suddenly started appearing.

Has anyone faced a similar problem or have any insights on what might be causing this?

Appreciate any help. Thanks!

API - https://api.dhan.co/v2/orders
Response Body - {"dhanClientId":"1104551352","transactionType":"BUY","exchangeSegment":"NSE_FNO","productType":"INTRADAY","orderType":"MARKET","validity":"DAY","securityId":"xxxxxxxx","quantity":30,"price":0,"afterMarketOrder":false}'

When u generated the token what was the expiry interval selected - 7 days, 15 days or 30 days ?

Thanks for the reply I got figured out the issue.

2 Likes