INVALID_OAUTHSCOPE

INVALID_OAUTHSCOPE

step 1 : Fetching access_token by URL


with payload includes scope = " Aaaserver.profile.READ"


and getting access_token successfully

{ "access_token": "xxxx.xxxxxxxxxd57cxxx9xxxd1xxxexxxxxx.8242xxx4357xxxc6bxxx85xxxb6xxxxx", "expires_in_sec": 3600, "api_domain": "https://www.zohoapis.com", "token_type": "Bearer", "expires_in": 3600000 }

step 2: But while trying to read User Info with same access_token receiving error as below


header :  Authorization = Zoho-oauthtoken xxxx.xxxxxxxxxd57cxxx9xxxd1xxxexxxxxx.8242xxx4357xxxc6bxxx85xxxb6xxxxx

Response
{
    "response": "error",
    "cause": "INVALID_OAUTHSCOPE"
}  

Also tried with scope =  ZohoMail.folders.READ,  scope =  Aaaserver.profile.read, scope = a aaserver.profile.read

so i need to know what is right option for scope ?????





                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl 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




                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now