Forum Discussion

DuncanHooper's avatar
DuncanHooper
Qrew Trainee
7 years ago

API Secure socket connect error

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 Replies

  • 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!