News & Announcements User Community Developer Community

Welcome to the RingCentral Community

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

Search
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
Webhook Setup Error: Refresh token has expired
Tags: sdk
Jan 7, 2018 at 11:58am   •   2 replies  •  0 likes
amit-dandawate

Hello,


I referred doc @ https://github.com/ringcentral/glip-botman/tree/bot-provisioner to create my bot, however I keep getting "Webhook Setup Error: Refresh token has expired". Since last 1 week I tried all possible ways/solutions, still no success. Its working on my friends laptop, but not on my laptop.


Can someone help me ?


Thanks,

Amit

2 Answers
answered on Jan 7, 2018 at 5:42pm  

Amit,

There are two pre-requisites to get the bot running once you set up the ngrok server:

1.) Add the Bot to Glip

Go to the Bot tab of the recently created app in the developer portal. Click on the Add to Glip button.      


This step creates a folder named _cache as pointed by @tyler above. If you want to re-start the process of creating a bot, please delete the folder.

2.) Creating Subscription on the Bot

In the terminal, just run the below command:
$ cd glip-botman  $ php index.php
Note: If you are reinstalling the bot for some reason, please delete the cache and subscription folders and try again.

 0
answered on Jan 7, 2018 at 5:19pm  

 1



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

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

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