That API call is not allowed for the authenticated user

saurabh.bhumkar
I am executing the following Python Client Code
from kiteconnect import KiteConnect
kite = KiteConnect(api_key = "euisomethingi1nttriq9")
try:
user = kite.request_access_token(request_token="djyraqksomethingywo8f4h9ye6qsk16s", secret = "somethinghbwuzu292s4mhwvvbi0y")
kite.set_access_token(user["access_token"])
except Exception as e:
print("Authentication failed", str(e))
raise
print(user["user_id"], "has logged in")

# Get the list of positions.
print(kite.positions())

# Place an order.
order_id = kite.order_place(
tradingsymbol = "INFY",
exchange = "NSE",
quantity = 1,
transaction_type = "BUY",
order_type = "MARKET"
)

And the Error is --> That API call is not allowed for the authenticated user

LOG ->
C:\Users\admin\Desktop>python login.py
('Authentication failed', 'That API call is not allowed for the authenticated user')
Traceback (most recent call last):
File "login.py", line 4, in <module>
user = kite.request_access_token(request_token="djyraqksomethingywo8f4h9ye6qsk16s", secret = "somethinghbwuzu292s4mhwvvbi0y")
File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 214, in request_access_token
"checksum": checksum
File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 443, in _post
return self._request(route, "POST", params)
File "C:\Python27\lib\site-packages\kiteconnect\__init__.py", line 525, in _request
raise(exp(data["message"], code=r.status_code))
kiteconnect.exceptions.PermissionException: That API call is not allowed for the authenticated user
Please revert ASAP,

Thanks in Advanced !
This discussion has been closed.