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
Can't set password for production app
Tags: rest api
May 26, 2021 at 7:35am   •   4 replies  •  1 likes
Sagar Arora

I am not able to set production app password as it says N/A.

on May 26, 2021 at 8:14am   •  0 likes

Hi Sagar, can you tell us more about your issue? What do you mean by production app?

on May 26, 2021 at 8:30am   •  0 likes

Sure so i upgraded my app from sandbox environment to production environment. And when i try to hit the api using production app credentials it fails and error is wrong credentials and when i try to reset the password it show N/A. So i am not sure why that is.

on May 26, 2021 at 8:32am   •  0 likes

Thanks for clarifying. I will move your post to our API Support Team.

3 Answers
answered on May 2, 2022 at 11:16am  

Hello can somebody help me about my production application because my credentials are not working..

This is my client_id = ghTpNC1cQL23DcmcWv6Jfw

on May 2, 2022 at 11:59am   •  0 likes

You app is in production. Make sure you login with one of the users in your production account. Here are the users I see from your account


on May 2, 2022 at 12:47pm   •  0 likes

I am using the primary number of the user as username

(562) ***-0653

on May 2, 2022 at 1:31pm   •  0 likes

Can you use that username and password to login your production account? If you can, the exactly same username and password should work for your app.

on May 2, 2022 at 1:37pm   •  0 likes

I'm using user:sharina credential but I still get the error

These are my crendentials $username = '(562) -0653'; $extension = 102; $password = ''

on May 2, 2022 at 1:44pm   •  0 likes

IF you cannot login, then you cannot login any app with such a login credentials. So don't blame the app. Reset your password and try instead.

on May 2, 2022 at 1:55pm   •  0 likes

ok tnx i solved the problem already

on May 2, 2022 at 1:34pm   •  0 likes

im still getting an error

on May 2, 2022 at 1:36pm   •  0 likes

Which means that your username and password do not match! Who else can help you to use the correct username and password except yourselves?

on May 2, 2022 at 1:41pm   •  0 likes

is this kind of phone number format "(562) ***-0653" works in your API ?

on May 2, 2022 at 12:37pm   •  0 likes

i've been using the sharina account as my credential but I still got the errror

answered on May 27, 2021 at 9:08am  

This is an example to read the call log from the beginning of May 21, and write the record to a .CSV file.

fileName = "callrecords.csv"
file = open(fileName,'w')
header = 'id,sessionId,startTime,duration,type,direction,action,result,to_name,from_name,transport'

def read_call_log():
    params = {
        'dateFrom': '2021-05-01T00:00:00.000Z',
        'perPage': 1000,
        'view': 'Detailed'

    resp = platform.get('/restapi/v1.0/account/~/call-log', params)

def write_call_records(response
    file = open(fileName,'a')
    jsonObj = response.json()
    for record in jsonObj.records:
        line = "\r\n"
        line += + ','
        line += record.sessionId + ','
        line += record.startTime + ','
        line += str(record.duration) + ','
        line += record.type + ','
        line += record.direction + ','
        line += record.action + ','
        line += record.result + ','

        if != None:
            if "name" in
                line += + ','
                line += 'null,'
            line += 'null,'

        if record.from != None:
            if != None:
                line += + ','
                line += 'null,'
            line += 'null,'

        line += record.transport

        # add to your CRM  or other db
        # for demo, I write to a file


answered on May 27, 2021 at 7:46am  

@Phong Vu Can you please also help me with a sample code which is processing the api response for call-logs for python

answered on May 26, 2021 at 8:53am  

Apologies for moving you back and forth between the Developer and Customer community.

Because you wrote "password for production app". Well, app does not have a password so I thought that you meant resetting a user password on production.

Anyway, after moving your app to production, first, you have to change the app production credentials (client id and secret) in your code. Then you have to login with user credentials (username and password) of a user under your production account.

on May 26, 2021 at 8:57am   •  0 likes

tried it but that doesn't seem to work. Error still saying "ringcentral.http.api_exception.ApiException: Invalid resource owner credentials"

on May 26, 2021 at 9:01am   •  0 likes

You have to trust that error messages. If you search for "Invalid resource owner credentials" term in this forum, you will see that many other developers made mistake with their login credentials. You can quickly verify if the username and password is correct by login If you can login the service web site, you must be able to login your app with the exact username, password and EXTENSION number (if you use the main company number as the username)

on May 26, 2021 at 9:04am   •  0 likes

Yeah i tried everything and i have verified the credential but somehow it is not working.

on May 26, 2021 at 9:05am   •  0 likes

Are you sure about the extension number? What is your app client id?

on May 26, 2021 at 9:07am   •  0 likes


and app client id: Q2imGUrDSqCOEuk6Lal2QQ

on May 26, 2021 at 9:09am   •  0 likes

And one more thing if you can clarify if the user i use is admin. Then can i extract all the call logs for my company using that user correct.

on May 26, 2021 at 9:10am   •  0 likes

Which user name (name of the user, not the phone number), and the extension number did you use to login ?

on May 26, 2021 at 9:11am   •  0 likes
on May 26, 2021 at 9:15am   •  0 likes

So you don't have a phone number for your extension. You can use the main company number 1XXXXXXX8809, your extension number 136 and your password.

And yes, you are an admin user so you can read company call log.

on May 26, 2021 at 9:15am   •  0 likes

Ok thanks let me try that.

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