OAUTH_SCOPE_MISMATCH when attempting to find CRM User Record

OAUTH_SCOPE_MISMATCH when attempting to find CRM User Record

In my App, I want to look for records owned by a Zoho CRM user. Therefore, I am attempting to find the relevant CRM user details for the logged in Creator App user. The lookup I am using is:

userEmail = thisapp.permissions.loginUserEmailid();
userDetails = zoho.crm.searchRecords("users","(email:equals:" + userEmail + ")",v_Page,200,m_SearchParam);

This returns the following error:

{"code":"OAUTH_SCOPE_MISMATCH","details":{},"message":"invalid oauth scope to access this URL","status":"error"}

I my Connection I have checked the following two scopes:

ZohoCRM.users.ALL
ZohoCRM.users.READ

(Assuming these are the correct ones).

Looking for any assistance or insights. OR, if I am going about this the wrong way I welcome a better way to find CRM records owned by the logged in App User (Not portal users).


Many thanks!
Brenden
    Zoho Desk Resources

    • Desk Community Learning Series


    • Digest


    • Functions


    • Meetups


    • Kbase


    • Resources


    • Glossary


    • Desk Marketplace


    • MVP Corner


    • Word of the Day


      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 Campaigns 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 コンテンツ




                              ご検討中の方