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.