Discussions

Expand all | Collapse all

API_GenResultsTable and problem with usertoken ? Bad Ticket

  • 1.  API_GenResultsTable and problem with usertoken ? Bad Ticket

    Posted 06-30-2017 18:07
    I?m using API_GenResultsTable to present Quickbase data on my web site. I?m using a usertoken and apptoken for authentication. I?ve been getting the following error return on occasion. 4 Bad ticket Your ticket has expired. By default, tickets expire after 12 hours of use. One-time tickets expire after 5 minutes. Please log in again. I?m thinking that the API call is picking up an expired cookie ticket from a previous logon to my Quickbase site. Is there a way that I can force the API call to ignore local cookies and use the usertoken. This seems like a bug and is causing issues for my users.


  • 2.  RE: API_GenResultsTable and problem with usertoken � Bad Ticket

    Posted 07-04-2017 14:08

    usertoken: yes, one of:

    • ticket
    • username/password
    • user token
    apptoken: yes, if the application requires application tokens

    I hope this will solve your issue, if any clarifications. Happy to help you :) 


  • 3.  RE: API_GenResultsTable and problem with usertoken � Bad Ticket

    Posted 07-06-2017 06:40
    User tokens should be superior to any local cookies, and the token might not even be needed.

    I'd suspect that it has to do with how you are displaying the data within your website.

    How are you going about that?  iFrame with a straight URL? 


  • 4.  RE: API_GenResultsTable and problem with usertoken � Bad Ticket

    Posted 07-06-2017 20:12
    Thanks for you input.

    <script type="text/javascript" src="https://mydomain.quickbase.com/db/bmpyuqy99?a=API_GenResultsTable&qid=99&jht=1&usertoken...; </script>