Skip to main content

Hi,

Below is the script:

RC_SERVER_PRODUCTION = 'https://platform.ringcentral.com'
CLIENT_ID = 'QDpMKy_PQ_eQsTfBMkp5aA'
CLIENT_SECRET = ' '
JWT_TOKEN = ' '

sdk = SDK(CLIENT_ID, CLIENT_SECRET, RC_SERVER_PRODUCTION)
platform = sdk.platform()
platform.login(jwt=JWT_TOKEN)

I am receiving following error:

platform.login(jwt=JWT_TOKEN)

TypeError: login() got an unexpected keyword argument 'jwt'

1708476048545.png

I referenced the following github:
https://github.com/ringcentral/ringcentral-python

1708475812865.png

I tried upgrading

1708476120561.png

Please advise. Thank you!

You should install the RingCentral 0.8.1 package.


Reply