Issue with connecting with API on WRDS batch jobs

75 Views Asked by At

I am trying to run a sas file as a batch job on the WRDS cloud. This includes pulling a large amount of data from an API. When running the SAS file in the WRDS online SAS studio the file works as expected. When using the batch job it creates the same three errors for each HTTP API request.

ERROR: Unable to establish connection to api.usa.gov.
ERROR: Unable to establish connection to api.usa.gov.
ERROR: Unable to connect to Web server.

the request is a simple HTTP GET:

proc http
    method = "get" url ="API url" out = rept;
run;

Any help enabling the file to work on the WRDS cloud would be helpful.

0

There are 0 best solutions below