Expand all | Collapse all

Quickbase C# SDK Client.Connect times out

  • 1.  Quickbase C# SDK Client.Connect times out

    Posted 07-20-2018 18:00
    I am creating an interface between our proprietary web  application and Quickbase.  I set up a "Trial" database to use as a Sandbox for testing.  However, now that the integration code is complete and I have changed values (App ID, App Token) to the live application.  This line of code times out more often than not:

    IQApplication app = client.Connect("bmsrk7gae", "bbnb3n3bnc4cmccwp4kqkb6ji5xz");

    Is there anything I can do to prevent it from timing out?  It takes a REALLY long time to connect.

  • 2.  RE: Quickbase C# SDK Client.Connect times out

    Posted 07-20-2018 20:57
    Not really enough information to suggest anything.  I use the QB API almost every day and it rarely times out.  If you aren't experiencing timeouts with a normal login to the app you can test for timeouts by using a url like this:
    https://YOURDOMAIN.com/db/bmsrk7gae bemenk5bm?act=api_getschema&qid=1&usertoken= bbnb3n3bnc4cmccwp4kqkb6ji5xz 

    Just change the above request to match your domain name (examples assumes bmsrk7gae is you appid and not a table id).  You should see a short XML reply with all of your tables listed.  

    If it comes back quickly - then the problem is in with the client.  If this times out - try submitting a help request to QB - they may be able to see an issue you can't see from your side.

    Also  - if you're developing clients you may want to take a look at POSTMAN.  It allows you to test calls to any API without writing any code...

  • 3.  RE: Quickbase C# SDK Client.Connect times out

    Posted 07-20-2018 23:26
    Thank you so much for your response!  I am using SDK found here https://github.com/QuickbaseAdmirer/QuickBase-C-Sharp-SDK.   I really don't know how to send XML from C# which is why I'm using the SDK.  I'm looking into trying to go the XML route now because it seems this SDK is the problem.