Discussions

Expand all | Collapse all

API Secure socket connect error

  • 1.  API Secure socket connect error

    Posted 03-15-2018 10:32

    We are trying to connect to Quickbase from at mobile technical product through a modem so that we can registrer error codes etc.

     

    Our electronics engineer tested the script with ?Make HTTP Request? on  https://www.hurl.it/

     

    He is using a user token but is getting "Secure socket connect error"

     

    Script as follows:

     

    POST https://glovaas.quickbase.com/db/bnh95ctbw

    Content-Type: application/xml

    Content-Length:

    QUICKBASE-ACTION: API_AddRecord

    <qdbapi>

       <udata>mydata</udata>

      < usertoken > bygtji_upe_b???????????? </usertoken >

       <field fid="6">Test Message</field>

       <field fid="7">1234</field>

    </qdbapi>

     

    Any ideas I was unsure if the setting "Allow non-SSL (insecure) access via API" = Yes is the problem


  • 2.  RE: API Secure socket connect error

    Posted 03-15-2018 11:28
    It worked for me using this configuration:






    I noticed you have extra spaces on the usertoken tag which would cause an XML parsing error:

      < usertoken > bygtji_upe_b???????????? </usertoken >

    Yes I deleted that user token!


  • 3.  RE: API Secure socket connect error

    Posted 03-16-2018 09:50
    Thank for your feedback, waiting for engineer to test