Skip to main content
I've been trying to follow https://developers.ringcentral.com/guide/team-messaging/manual/local-bots I have followed every step as written in the guide, but when I make it to step 7, I get an error saying that my oauth redirect url didn't return a successful response. I setup the Oauth redirect URL as outlined in the guide, pointing it at my ngrok URL. I am able to access the Oauth redirect URL from the internet (on another computer) on my own, I can also see my request in the console of the node app. But I never see the request coming into the node app when I perform step 7.

I noticed that this guide is about 4 years old, has something changed? Are there any additional troubleshooting steps?
@paul-thompson Thank you for your question. I will be honest, these guides have been somewhat neglected for which I am personally very sorry. I am in the process of rewriting them now. Of the two guides we link to in our Developer Guide, I have rewritten the first one (not the one you are having trouble with - that is next). The changes have not been published to the website yet, but you can see the new guide in Github: https://github.com/ringcentral/ringcentral-api-docs/blob/master/docs/team-messaging/manual/node.md

The above tutorial utilizes the RingCentral bot framework for Javascript which handles a lot of the complexity for you, and should have you up and running in 10 minutes or so. Take a look at that, while I work on fixing the tutorial called "Building a RingCentral bot locally."
@paul-thompson It took a little time, but I did rewrite the bot tutorial you initially reported. The new version can be found here:

https://github.com/ringcentral/ringcentral-api-docs/blob/master/docs/team-messaging/manual/local-bots.md

Both of these tutorials should be updated in our developer documentation online in the coming week. If you have any more problems, please let us know!

Reply