API Secure socket connect error

  • 0
  • 1
  • Question
  • Updated 9 months ago
  • Answered

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
Photo of DunK

DunK

  • 92 Points 75 badge 2x thumb

Posted 9 months ago

  • 0
  • 1
Photo of Ⲇanom the ultimate (Dan Diebolt)

Ⲇanom the ultimate (Dan Diebolt), Champion

  • 28,004 Points 20k badge 2x thumb
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!
(Edited)
Photo of DunK

DunK

  • 92 Points 75 badge 2x thumb
Thank for your feedback, waiting for engineer to test