question

Don Klayman avatar image
Don Klayman asked Tyler Liu answered

RingCentral 6.1.0 null object reference when making API call.

I'm converting a Winforms app written in 2016 to core using RingCentral.Net 6.1.0. I've studied GitHub code and only need Oauth like we've been doing since 2016. I can instantiate and add an extension successfully to the RestClient but when I make an API call I get a null object reference. Debugging the RestClient object the token is null. The exception message isn't clear what is null, except I can see the Token property of the RestClient is null. See below.


ringcentral app
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Tyler Liu avatar image
Tyler Liu answered

The attached image is broken. Could you please post sample code to reproduce the issue?

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys