Full Redirect URI Doesn't Provide Valid Access Token

Full Redirect URI Doesn't Provide Valid Access Token

I currently am trying to integrate Zoho Vault APIs into my .net application. I set up a web server application in the Zoho API and received a clientID and clientSecret. I set 2 redirect uri's in my application, #1 is the base path of the application. #2 is the full url. #2 includes a path to a callback function in my .net application that is supposed to process the authorization code after authorization to acquire an access code. When I use redirect uri #1 (just the base path of my application which takes me to the homepage) I am able to receive a valid authorization code, valid access code, and get the response I want. However, whenever I use redirect uri #2 (the full path which includes the callback function) I always receive and "invalid code" error. I have copied my client id and client secret exaclty and am using them as necessary. I have copied both redirect uri's exaclty into my API Developer Console application. So I know for a fact that there are no typos. I am using the ZohoVault.secrets.READ scope and I am following the steps in this link https://www.zoho.com/vault/api/. Also, I would very much appreciate some help in decrypting what is encrypted within the responses. I have seen on some forums that you can provide some files that will help. I would greatly appreciate any help! Thank you!

      Zoho Developer Community

                                Zoho Desk Resources

                                • Desk Community Learning Series

                                • Digest

                                • Functions

                                • Meetups

                                • Kbase

                                • Resources

                                • Glossary

                                • Desk Marketplace

                                • MVP Corner

                                • Word of the Day

                                    Zoho Marketing Automation
                                            • Sticky Posts

                                            • iOS 12 update: Introducing autofill passwords and Siri Shortcuts in Zoho Vault

                                              With this iOS 12 release, Zoho Vault users can now autofill usernames and passwords on Safari and other third-party apps. Users can enjoy a seamless login experience to their everyday apps without compromising security and also access passwords stored in Zoho vault with Siri Shortcuts by adding personalized phrases. How to enable autofill password on your iOS device? First, you need to update your device to iOS 12.  Apple recommends you to take a backup before you update your device to the latest

                                            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


                                                                        • Functions


                                                                        • Meetups


                                                                        • Kbase


                                                                        • Resources


                                                                        • Digest


                                                                        • CRM Marketplace

                                                                          CRM Marketplace

                                                                        • MVP Corner

                                                                          MVP Corner

                                                                            Design. Discuss. Deliver.

                                                                            Create visually engaging stories with Zoho Show.

                                                                            Get Started Now