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
OAU-213 after refresh token when renew subcription
Tags: authentication
Jul 20, 2020 at 8:36pm   •   1 replies  •  0 likes
Boru Admin

I using PHP code to refresh Token before token expires 1 day.

After refresh token, I save new token and new refresh token to Database.

I use this token to renew Webhook Subscription (subcription created via token Auth $platform->auth()->data()) , but this have error:

Array (    [errorCode] => TokenInvalid    [message] => Token not found    [errors] => Array        (            [0] => Array                (                    [errorCode] => OAU-213                    [message] => Token not found                )         ) 

This is code:

Please help me check.

1 Answer
answered on Jul 21, 2020 at 7:31am  

Can you do a quick test.

1. Use the new access token to read your webhook subscription

2. Use the new access token to delete the existing access token

3. Use the new access token to create a new access token instead of renew the existing one

4. Use the new access token to read the extension info

Let me know which one works and which one does not work


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