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
Invalid application type
Tags: rest api
Nov 19, 2015 at 8:53am   •   6 replies  •  0 likes
riley-clegg

I am attempting to access our client's call log and recordings via production api and I am getting the following output: "{'error_description': 'Invalid Application Type.', 'error': 'invalid_client'}". How can we fix this?

6 Answers
answered on Nov 19, 2015 at 12:04pm  
Yes, Anton is correct, your app is currently set to be a private app. This means that the production keys granted will only be able to access the associated account.

If you want to create an app which permits other access by your other clients, you'll want to create a public app which implements three-legged oauth:
  1. Establishing a redirect URI to configure for the app on the Developer Portal
  2. Opening a browser window to the RingCentral authorization URI embedding the redirect URI
  3. Adding code to the redirect URI page to exchange the authorization code for an access token
An app which implements this workflow is able to handle multiple customer requests appropriately.

 0
answered on Nov 19, 2015 at 11:52am  
Credentials are not the issue here because we can access our own call log in production. As per Anton, our application cannot access accounts outside of our own. We need to have the ability to access our current and future client accounts as we have been migrating them to ring central.

 0
answered on Nov 19, 2015 at 11:24am  
Hi Riley,

I assume you are trying to use the Sandbox app key and app secret for your production account.  please use production app key and app secret instead. 

Please read this article carefully and make changes accordingly. If you still have issues let us know.  https://devcommunity.ringcentral.com/ringcentraldev/topics/oauth-authentication-api 

 0
answered on Nov 19, 2015 at 10:31am  
The org/app name: StataPile Inc/Statapile Portal How can we get access to our current and future clients?

 0
answered on Nov 19, 2015 at 9:54am  
Hi Riley.

The reason is that your app is now authorized to work only with one RC Production account -- the account associated with your developer organization. Let us know what is your app/organization name, please. 

 0
answered on Nov 19, 2015 at 9:51am  
Hi Riley,

Sorry to hear that you're running into issues, and I'm happy to help.

I have a few questions which will help isolate this quicker:
  1. What is your application name please?
  2. What permissions have you requested for this app please?
    You can view the list of permissions by selecting your app from this page: https://developers.ringcentral.com/my-account.html#/applications
    Then copy/paste, in your response, the list of all permissions as listed in Application Credentials -> Permissions
  3. What programming language are you using please?
  4. Are you using one of the RingCentral SDKs please?
  5. You said that you're attempting to fetch data from your client's production RingCentral account, have the API keys associated for your app been authorized for production access? Did you submit a request for production access for the respective app from within the Developer Portal?
  6. Could you provide me the full request (with headers) and the full response you received please? make sure to strip out any the values for: appKey, appSecret, Authorization header, username, password
Having the answers to these questions should provide the data I need to help you.

 0



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