question

Developer Admin avatar image
Developer Admin asked ·

Production App error at authorisation (Unauthorised for this grant type),Unable to access Production server despite password has been changed.

Hello,
I have created an rc app and passed the graduation requirements, now it is active in production. I am using .net core web application with ring central .net sdk. It is working fine with sandbox credentials but when i changed it with production credentials it gave an authorization error. I have reset the password of production credentials but it did not work and it reset the password of my account. I have attached the screenshots of the error message and piece of my code.

My application details are as follows,

RINGCENTRAL_CLIENTID:mMbs96qzT0WBfQaQNwls2g
RINGCENTRAL_EXTENSION:101

authorizationproduction.net sdk
code.png (17.8 KiB)
1 |1000 characters needed characters left characters exceeded

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

Phong Vu avatar image
Phong Vu answered ·

You have to call this method with 3 params.

rcsdk.Authorize("RINGCENTRAL_USERNAME", "RINGCENTRAL_EXTENSION", "RINGCENTRAL_PASSWORD").Wait();

BTW, don't post full production number here in public space, nor full app credentials even if it is encoded. I dashed out your number and remove one of your attachment.

1 |1000 characters needed characters left characters exceeded

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

Developer Admin avatar image
Developer Admin answered ·

I have also tried with passing extension but same error is still there.

2 comments
1 |1000 characters needed characters left characters exceeded

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

Post the error again w/o those sensitive information.

0 Likes 0 ·
Developer Admin avatar image Developer Admin Phong Vu ♦♦ ·

Please check attached file.

0 Likes 0 ·
capture.png (4.1 KiB)

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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

Work together.
From anywhere.

Team messaging, video meetings
and phone - all in one app.


Get the new RingCentral app