Invoice API: Invalid Ticket Passed

Invoice API: Invalid Ticket Passed

Hi,


I am trying to use the invoice API and presently am trying to view the list of active items. Following is the code

<form method="GET"    action="https://invoice.zoho.com/api/items?apikey=[APIKEY]&ticket=[TICKET]">

<input type="submit" value="Submit Request">

</form>


I get the following error:

<Response status="0">

<Code>14</Code>

<Message>Invalid Ticket Passed</Message>

</Response>

I generate a ticket and literally cut and paste it. I tried this with multiple tickets but get the same response

2. Issue #2:

I am calling the same URL from Zoho Creator using the geturl function. 

myViewItems = getUrl("https://invoice.zoho.com/api/items?apikey=[APIKEY]&ticket=" + myTicket);

I get this message: internal exception


Please help ASAP

I have generated the APIKEY and generate a ticket with every call.

    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