Skip to main content
Question

API_GenResultsTable and problem with usertoken ? Bad Ticket

  • June 30, 2017
  • 0 replies
  • 25 views

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.
This topic has been closed for replies.

  • Quickbase Alumni
  • July 4, 2017

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 :) 

  • Quickbase Alumni
  • July 6, 2017
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? 

  • Author
  • Quickbase Alumni
  • July 7, 2017
Thanks for you input.

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