The value passed for the 'Zoho-oauthtoken' parameter is invalid.

The value passed for the 'Zoho-oauthtoken' parameter is invalid.

Hi,

I am in the process of converting our stand-alone Console Application which retrieves open tickets to oAuth. I’ve followed all of the steps to obtain my Access and Refresh tokens successfully and up until that point, everything works fine.  

 

I’m now trying to get the list of tickets but I am unsuccessful. The response I keep getting is:

 

{

    "errorCode""UNPROCESSABLE_ENTITY",

    "message""The value passed for the 'Authorization:Zoho-oauthtoken' parameter is invalid."

}

 

My request looks as follows:  

 

https://desk.zoho.com/api/v1/tickets?orgId=123456789&Authorization:Zoho-oauthtoken=1000.12345678a1b1234ab3abcdef123a1a12.12a1234a123ab123456ab12a1ab123a1

 

Note that I’ve changed the orgid and access token I received for security purposes.

 

The OrgID is the correct one (it’s the same I use with the regular API) and the access token is the one I received from the token generation step.  What am I doing wrong?


Thanks

--- Val

    Access your files securely from anywhere

        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


                                              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 Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • 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