I'm getting 404 errors from the sample code for the python SDK.
The sample code is located here:
https://developers.ringcentral.com/guide/team-messaging/quick-start#python
The error I am receiving:
File "python3.9/site-packages/ringcentral/http/client.py", line 28, in send
response.response().raise_for_status()
File "python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://platform.devtest.ringcentral.com/restapi/v1.0/team-messaging/v1/teams
This call works fine from the api reference page. I have noticed that the SDK is adding restapi/v1.0/ to the URL. The api reference page uses this URL:
https://platform.devtest.ringcentral.com/team-messaging/v1/teams
Is this the cause of the error?