INVALID_OAUTHTOKEN using Self Client Access Token (Android)

INVALID_OAUTHTOKEN using Self Client Access Token (Android)

Hi,  

I using the Zoho Android Demo app to try to evaluate Zoho Assist.  https://github.com/zoho/Assist-Customer-Android-SDK-Demo

I am successfully able to get an access token by POSTing the generated code from Self Client via POSTMAN.
scope = ZohoAssist.sessionapi.ALL

{
"access_token": "1009962",
"refresh_token": "10068c6efc5",
"scope": "ZohoAssist.sessionapi.ALL",
"api_domain": "https://www.zohoapis.com",
"token_type": "Bearer",
"expires_in": 3600
}


I use the access token along with the session id in demo application but it is returning a 400 response INVALID_OAUTHTOKEN.

Any idea why this would be happening?  I confirmed that the correct access token is being used in onSessionStart.

I am aware the token expires after an hour. 

Thanks

      Zoho Campaigns Resources


        • Desk Community Learning Series


        • Digest


        • Functions


        • Meetups


        • Kbase


        • Resources


        • Glossary


        • Desk Marketplace


        • MVP Corner


        • Word of the Day


        • Ask the Experts


          • Sticky Posts

          • End of Support announcement for macOS 10.9, 10.10, 10.11, 10.12, and 10.13

            Dear Customers, We would like to inform you of an important update regarding our support for legacy macOS operating systems with Zoho Assist. Starting May 1, 2025, we will officially end support for macOS versions 10.9, 10.10, 10.11, 10.12, and 10.13.
          • Zoho Assist: Important Security Upgrade Notice

            Dear Customers, We're committed to providing safe and secure remote connections across networks and devices. To uphold this commitment, we're upgrading to an updated security protocol. This change won't affect our support for major operating systems.
          • TLS v1.2 Upgrade and Changes to System Requirements for Zoho Assist

            As we tighten our TLS v1.2 security update, admins and users need to be aware that supported versions of operating systems and web browsers will change after October 31st, 2018. After this date, we will retire support for clients using TLS v1.0 and TLS v1.1 protocols. In order to support these changes and meet the updated PCI standards please ensure that computers configured for Unattended Access are updated to TLS v1.2 and use web browsers that support the latest update. What is TLS v1.2, and why
          • Release Notes: Version 1.82, February 2015

            New Chrome Extension: Start a Session quickly! Recently, we have released a  Chrome Extension , which enables you to start a session instantly. You can simply enter your customer email address and start a session right from your browser extension. Make sure you are always logged-in to your Zoho account in your chrome browser so that you can avail the professional edition features if you are a paid customer. Supporting your Mac customers is much easier now! We have deployed a new Customer Console
          • Release Notes: Version 1.1205, May 2012

            This version of Zoho Assist includes the following changes. Enhanced Mac OS support We have increased the support quality and connection speed for the Mac OS. This will suit its higher resolution and enhanced graphics and to provide a better screen sharing experience. Smoother keyboard synchronization Typing and working with remote keyboard is a breeze now, with the refinements made in keyboard synchronization. This will achieve smooth and consistent remote support experience, just like working in

          Zoho CRM Plus Resources

            Zoho Books Resources


              Zoho Subscriptions Resources

                Zoho Projects Resources


                  Zoho Sprints Resources


                    Zoho Orchestly Resources


                      Zoho Creator Resources


                        Zoho WorkDrive Resources



                          Zoho CRM Resources

                          • CRM Community Learning Series

                            CRM Community Learning Series


                          • Tips

                            Tips

                          • Functions

                            Functions

                          • Meetups

                            Meetups

                          • Kbase

                            Kbase

                          • Resources

                            Resources

                          • Digest

                            Digest

                          • CRM Marketplace

                            CRM Marketplace

                          • MVP Corner

                            MVP Corner




                            Zoho Writer Writer

                            Get Started. Write Away!

                            Writer is a powerful online word processor, designed for collaborative work.

                              Zoho CRM コンテンツ








                                ご検討中の方

                                  • Recent Topics

                                  • Customize the ticket ID for enhanced ticket tracking

                                    Hello everyone, Ticket IDs in Zoho Desk are the unique reference numbers that are assigned to tickets when they're created. Agents generally use the ticket ID to locate a particular ticket and to reference a ticket in conversations and feeds. When customers
                                  • FSM Function not executing

                                    Good Afternoon, all I am working on a workflow function in FSM and yesterday it was working fine. Now today when I select "Save & Execute" it does nothing. I even tested it with just a info statement and it is not executing. Any help would be greatly
                                  • Introducing prompt builder in Zoho CRM

                                    We’ve introduced a new way to put Zia’s generative AI to work—right where your teams need it most. With the all new prompt builder for custom buttons, you can create your own AI instructions to generate tailored content, suggestions, or summaries across
                                  • DKIM cannot be enabled for the domain as no verified default selector present

                                    Can't get the DKIM working. May you please check my account (nksy.us) to see what's wrong?
                                  • Access invoice custom modules data from API

                                    Hi, I am using $url = "https://www.zohoapis.eu/invoice/v3/invoices"; $opts = ["http" => [method" => "GET",header" => [ "Authorization: Zoho-oauthtoken $accessToken", "X-com-zoho-invoice-organizationid: $orgId" ] ] ]; From my app to retrieve the invoices,
                                  • Boost collaboration in your sales process with Team Selling and Deal revenue's Split—empowering your Zoho CRM for smarter teamwork!

                                    This feature is currently available for the AU and SA DCs. It is being rolled out in a phased manner and will be available to all users shortly. Hello everyone, As you may all know, closing a deal is rarely a one-person effort. It often involves multiple
                                  • Create modules using natural language prompts

                                    Hello all, We’ve introduced a new enhancement to Zia that allows you to create custom and team modules in Zoho CRM using plain language prompts. Why this enhancement? Creating a custom module traditionally involves multiple steps—choosing field types,
                                  • Suggesting enhance for criteria based data-sharing rules

                                    I suggest that, for user fields, the logged-user system variable could be used. This would allow the user, for example, to access records in which he/she is mentioned in a specific field, other than the owner. Thanks! Eduardo
                                  • How to sync read mails to GMail?

                                    Hello I am testing Zoho TeamInbox but I have an issue with my connected GMail account. Whenever I read a mail in TeamInbox or even reply to it, the email stays as "unread" in GMail. Is this normal behaviour? I thought that with the 2-way sync of IMAP
                                  • Look up field and show or hide section based upon selection

                                    Hi there, I am looking to show or hide a section within the opportunities module based on the value of the selection in the look-up field. This feature does not seem to be there Is there a workaround, and is this option coming in a future release? Thanks
                                  • eway Bill - Import (Good / Material)

                                    As we Importer of goods , for That first we Generate PO then , Payment, then after We create Bill of Entry  After Bill of Entry Anywhere (99%) cases material that arrived to port that comes to warehouse / factory for that Eway bill , we have to create
                                  • Import of Bank Statement DO NOT work - Date Mapping issue - Basic Feature Issue Becoming Serious Pain

                                    Hello, Yes, This is True. Importing Bank Statement feature is Not working as Intended. Facing few issues. Specially regarding the Mapping of Date field format. No matter how many times, we create a Case with Support team, they are NOT supporting in proper
                                  • Approval Workflow for Purchase Orders Abrir

                                    The requirement is , that all purchase orders greater than or equal to 5000 go through an approval process from certain people, but within books I only see that the approvers can be by levels or any approver but we cannot enter a rule like these. Can
                                  • How to see and amend Primary Clients easily

                                    Hi, i'm trying to make some reports on the clients we do projects for. However, i'm seeing a lot of "unknown" clients in the Zoho Analytics report. I suspect that these projects have not been assigned well and this needs to be corrected. Where can i easily
                                  • ZOHO NEEDS TO CREATE AN OPTION TO PASS CREDIT NOTE AGAINST SALES RECEIPT

                                    Zoho needs to find a way to pass credit note on sales receiptS. Creating a dummy invoice is causing major issues in tallying our sales figures and compliance with tax authorities.My system is tied to tax agencies and trying these options causes major
                                  • INTERGRATION OF ZOHO BOOKS PREMIUM PLAN AND ZOHO INVENTORY STANDARD PLAN

                                    Hello. I was using Zoho Books premium plan with 3 branches and has been working well until I purchased Zoho Inventory Standard plan. Now my 3rd branch location has been deactivate din Zoho Premium. how can I solve this please since I use all the locations
                                  • Exporting Templates

                                    I have just spent 2 hours creating a project template for a Netsuite configuration, and want to share it with other Zoho Projects users - who have a different account. Is there any way to do this?
                                  • Facing issue in getting data through api calls

                                    I have send data of users and want to get the data oof users but facing issue with one field for that I want help
                                  • It's time to say goodbye to Zoho Recruit for me.

                                    Hello, I have been a Zoho Recruit user since 2013. The tool has evolved, with a better UI, new features and so on. The pricing is still a great asset too. BUT, that being said, important features are not coming fast enough. I tried to share my point of
                                  • Automation#34: Schedule Guided Conversations (GC) Based on Business Hours

                                    Hello Everyone, Welcome to this episode on configuring your Guided Conversations (GC) based on your business hours. In our previous episode on Guided Conversations, we covered how to set up GC to enable offline support. This time, we'll guide you through
                                  • Download PDF from File Field with the name in another single line field

                                    Hi I am storing a PDF file in a File Field of a Form using Zapier automatically. now i need to download that file and set its file name as per the value stored in a single line field in that form. ANy turnout for that Thanks
                                  • Custom Module missing SDK function fetchRelatedRecords(...) in a Client Script

                                    Good day, We have added a new module with a Multi-Lookup relation to Contacts.  When we tried to use the fetchRelatedRecords(id, related_list_api_name) function to get Related Records it is missing for our new custom module. https://js.zohocdn.com/crm/5124797/documentation/DotSDK/Modules.html
                                  • TeamInbox and Desk Integration is Broken

                                    I use the TI -> Desk integration a lot. Today, it broke, again. When I go to create a Ticket from TI, an error message on a red background is shown "oops something went wrong". Checking the developers console on my browser, there are many 500 errors relating
                                  • Couldn't connect to host, port: wordpress2224249.home.pl, 143; timeout 10000

                                    Hey, i get a error up "Couldn't connect to host, port: wordpress2224249.home.pl, 143; timeout 10000" But i tried same passwords and info. to make imap on hotmail. and it works flawlessly. Has to be something with zoho....
                                  • Reply-To Match condition for Inbound Mail Messages

                                    I've trying to setup a rule to match the "reply-to" header but can't find any condition that would match this in Zoho TeamInbox rules. The business case is that I've setup my team inbox to be a member of a google group. The result of that is that emails
                                  • No Emails Flowing To Zoho TeamInbox

                                    From today, any emails we send to our TeamInbox addresses fail to be delivered. Our TeamInbox is connected via IMAP to 2 x Zoho Mail accounts. If I log in to those accounts directly via Zoho Mail, I can see all the emails landing in the inbox. The emails
                                  • How to download Renamed File that already updated to Zoho Creator.

                                    Hi members, I construct a button with report workflow. link = "https://creatorexport.zoho.com" + zoho.appuri + "report_link_name/File_upload/image-download/" + input.File_upload; openUrl(link,"new window"); This script able to download the file. But I
                                  • Merge Join PDFs Zoho Creator

                                    Hi all, I have a field where users upload PDF, is it possible to join those pdfs into one with a function or something? Regards.
                                  • Project Statuses

                                    Hi All, We have projects that sometimes may not make it through to completion. As such, they were being marked as "Cancelled". I noticed that these projects still show as "Active" though which seems counter intuitive. In fact, the only way I can get them
                                  • Mail API Get Email Attachment Content Returns HTTP Status 406

                                    Hi, I am trying to get the email attachments via the Mail API (https://www.zoho.com/mail/help/api/get-attachment-content.html) in PHP using CURL. I am able to get the Email Content and Attachment Info (https://www.zoho.com/mail/help/api/get-attach-info.html)
                                  • Not receiving email from Zoho to active account

                                    Dear Zoho, I have an account (giahuy@bincorporation.com) can not active to log in zoho. Status: inactive. Please help me to active that account. Thank you very much!
                                  • What is the reason I can't send emails

                                    What is the reason I can't send emails?
                                  • Kiosk Page Refresh

                                    We have a Kiosk running from a button in contacts to update values and also add related lists, which works great, but when the kiosk is finished the page does not refresh to show the changes. Is there a way to force the contact to refresh/update when
                                  • Zoho Desk app update - Activities module support

                                    Hello everyone! In the most recent version of the Zoho Desk Android app, we have brought in support for the 'Activities' module. You can now access activities as a separate module and manage your events, tasks, and calls within the mobile app. Also, you
                                  • API - Inactive user

                                    Hi We have a complex flow set up with an API. Yesterday I needed to inactivate a user who had set up the flow and API- realised after this, then broke the connection so - re-activated the user. The flow now seems not to work when gaining information from
                                  • Creating task at someones date of birth

                                    Hi, I want to create a workflow which creates a task at someones date of birth. How can I do this?
                                  • Using lookup field in Formula field

                                    I created the following formula field to get string output based on Lookup field values Lead and Account: if(${Communications.Lead}!='','Lead',if(${Communications.Account}!='','Account','Other')) The syntax seems correct, but I'm still getting an error.
                                  • How to associate a document sent in Zoho Sign with an deal in the CRM?

                                    Hi, often documents are loaded in Zoho sign and sent for signature. These sometimes are linked to a deal in the Zoho CRM and would be nice to see the status of the document within the CRM. I am aware of the integration, but that assumes that the document
                                  • Inventory valuation

                                    Inventory valuation in case of sales return makes some error in getting proper value of inventory. Cost price considered for accommodating the goods returned is not the price at which cost of good sold where recorded, last purchase of the same item is
                                  • Where do we manage tags?

                                    Where is the page where we can view all tags and manage them (like change a tag name to something else or merge tickets under a particular tag with another)?
                                  • Next Page