BookmarkSubscribeRSS Feed
PatMalarkey
Obsidian | Level 7

Wondering if anyone has tried using the Quickbase REST APIs from SAS?  A co-worker and I are noodling with PROC HTTP with no luck so far.

I know I'm missing the authorization token, but the papers available have me confused as to which other parameters I need.

filename response "C:\Users\f353363\OneDrive - Freddie Mac\Section 404\NoCode\QuickBase\sasfiles\test.xml" lrecl=32000;
proc http
url="https://api.quickbase.com/v1/records/query?from=brumhp939,select=[6,7,8,10,11],where={9.EX.'623008'}"
method='GET'
out=response;
run;

ERROR: The TCP/IP tcpSockEstablishSSL() support routine failed with error 10054 (The connection was
reset by a peer.).
ERROR: The tcpSockRead call failed. The system error is 'The connection was reset by a peer.'.
ERROR: Call to tcpSockContinueSSL failed.

Any ideas are welcome!  Thanks!

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

Welcome Pat!
Retitled and moved to procedures community. Hopefully you'll find an answer there.

Sajid01
Meteorite | Level 14

Hello @PatMalarkey 

Your proc http code looks OK except for the missing auth_beareer="your token";
Apparently connection was established and then the remote server closed the connection. 
Try running the request using some other method such as using Postman / ARC Client /Jmeter etc. 
That way you can have an idea if the error is in SAS or on the remote server.

 

SAS INNOVATE 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 413 views
  • 2 likes
  • 3 in conversation