I am getting the following error while calling the IPA API:
Token requested error {'error ': 'invalid grant'}
Failed refresh an authentication token while requesting.
I am using the RDP platform method to open the session:
session = rdp.PlatformSession(
APP_KEY,
rdp.GrantPassword(
username = RDP_LOGIN,
password = RDP_PASSWORD
)
)
session.open()
print('Session Status: ', session.get_open_state())
and in this method token is not required then why I am getting the token error?