Margin calculation - Insufficient permission for that call

ranjithptb
I am trying to access margin calculation api as below

curl https://api.kite.trade/margins/orders \
-H 'X-Kite-Version: 3' \
-H 'Authorization: token Rxxxxxxx2b8ge1pa:cIyyyyyyyLTsXUeZ' \
-H 'Content-Type: application/json' \
-d '[
{
"exchange": "NSE",
"tradingsymbol": "INFY",
"transaction_type": "BUY",
"variety": "regular",
"product": "CNC",
"order_type": "MARKET",
"quantity": 1,
"price": 0,
"trigger_price": 0
}
]'

But i am getting the below message. I am having an active kite connect subscription. Could please help me to resolve the issue.

{
"status": "error",
"message": "Insufficient permission for that call.",
"data": null,
"error_type": "PermissionException"
}

Sign In or Register to comment.