RingCentral JS SDK - Refresh token is missing

Viewed 656

I am using the RingCentral JS SDK (v. 3.1.1). I use the API from my server only so I am using a password workflow with the function rcsdk.platform().login() (from the doc here).

I am using the API only to send SMS for now.

Everything was working fine until yesterday. Then when I had to send an SMS, I got the error Refresh Token is missing.

I am aware of the refresh function in the SDK. The line 392 seems to be the one throwing my error. What I don't know is why, since I am using correct username, password and so on.

Sending SMS is a vital part of my user workflow, what am I missing here?

2 Answers
Related