Using this code:
It ringcentral.http.api_exception.ApiException: Unknown error
I was thinking this may be related to the Python version I was using 3.7 so I switched to 3.6 no joy (What version(s) of Python does it work with BTW?) I'm at a standstill here, any ideas?
from ringcentral import SDK
#sdk = SDK(CLIENT_ID, CLIENT_SECRET, SERVER)
platform = sdk.platform()
platform.login(user, extension, password) #this throws unknown error
builder = sdk.create_multipart_builder()
builder.set_body({
'from': {'phoneNumber': '15551212'},
'to': [{'phoneNumber': '15551213'}],
'text': 'message'
})
request = builder.request('/account/~/extension/~/sms')
response = platform.send_request(request)