News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Unauthorized (code 401)
Tags: authentication
Aug 8, 2019 at 7:57pm   •   2 replies  •  0 likes

I using Ringcentral.Client in .Net, when I authorize, I get refresh token and access token. I using refresh token to get new access token. I work very nice but after 2 hours I can't send any message and I get exception

401 (Unauthorized): POST

But I still recieve event message inbound from another user send to me in method subciption instant message.

I don't understand that. In document, I see refresh token exprire time is 7days, can you explain me about that ?

2 Answers
answered on Aug 9, 2019 at 6:50pm  

I sure client_name, secret, password, extension is correct.Everything working about 2 hours, I can send message and recieve message as usual. But after 2 hours, I get error 401. I'm testing in sandbox

answered on Aug 9, 2019 at 12:24pm  

This is strange though ... 401 means there is access issue with credentials or token etc.

Can you make sure and check if you are using right credentials like client_name, secret, password, extension etc correctly and not changed now


A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

Resource center
Product Releases
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us