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
API Auth Flow - why am I getting account not found errors?
Tags: authentication, developer sandbox
Nov 2, 2017 at 9:05am   •   1 replies  •  0 likes

Hi, I've got a sandbox app running. In my auth flow, I've received my auth code and am trying to exchange it for a token.

I have verified that my app is set up to accept authorization code auth flow.

But, when I make my request, I get an

"Account does not exist", "errors" : [ { "errorCode" : "OAU-222", "message" : "Account does not exist" } ] }"

However, I'm using the same client_id as I provided for the auth code, the one listed under sandbox in my app settings. This account should exist?

The url I'm sending the request to:

What am I doing wrong? Thanks for your help.

1 Answer
answered on Nov 2, 2017 at 5:25pm  


Could be perhaps you are using a different sandbox number. Could you clear the cache in the redirect window and use the Sandbox Number that you are assigned to login?

If you are still getting the same error, Could you please submit a help ticket with the following details:

1.) Sandbox Number

2.) App Name on RingCentral

We can take a look at it and assist you right away.

Meanwhile, just to make sure you have followed all the steps to getting a token via Authorization Code Flow, we have demo's in multiple languages like ( JS, Javascript-Express, php, python, csharp, ruby etc ) :

RingCentral-Authorization-Code Flow Demos


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