question

Globanet RD avatar image
Globanet RD asked Tyler Liu commented

.NET SDK OAuth issue - why can I not get a token?

Hello,


We use RingCentral.Net SDK and have difficulties getting a token. RestClient’s Authorize method is not working properly. It returned result’s status is “WaitingForActivation”. The Client token result is null.


Also is there any way to use rc_credential.json file to pass OAuth?

sdk
1 |3000

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

Anirban avatar image
Anirban answered Globanet RD commented
1 comment
1 |3000

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

Globanet RD avatar image Globanet RD commented ·

Hi, thank you for the answer, we have already tried all your mentioned solutions, but unfortunately, it didn't give any result.

0 Likes 0 ·
Tyler Liu avatar image
Tyler Liu answered Tyler Liu commented

I believe it is a C# programming issue. Did you "await" ?

2 comments
1 |3000

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

Globanet RD avatar image Globanet RD commented ·

Yes, we have already tried all your mentioned solutions, but unfortunately, it doesn't help us

0 Likes 0 ·
Tyler Liu avatar image Tyler Liu ♦ Globanet RD commented ·

We need more details to help you further. What are you trying to do? What is rc_credential.json? What is the detailed error message? What is the code snippet to reproduce the issue? If there is confidential information that you don't want to post here, please submit a help support ticket.

0 Likes 0 ·

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