cancel
Showing results for 
Search instead for 
Did you mean: 

REST Get snap error to get json data from url

Raj
New Contributor II

Hello,

I have REST API credentials that I can put in a Chrome browser and get the data. I want to use REST Get Snap to get the data. However when I set up REST Get snap with account details, I am getting the following error:

Failure: Failed to execute HTTP request, Reason: Connection reset, Resolution: Please check the Snap properties.

What am I doing wrong?

Thanks.

7 REPLIES 7

dmiller
Former Employee

Can you supply a screen shot of the REST Get Snap?


Diane Miller

Raj
New Contributor II

Here it is:

09 AM

It looks like a workday report. Click on Trust all Certificates. [ its not needed typically]

Content-Type is not required.

Can you just hardcode the URL and try and improvise on it later for an expression?

Also check which snaplex you are running.

Raj
New Contributor II

Url has extension ?format=json. I can get the data using Chrome browser. As suggested, I checked on Trust all Certificates. Still has the same HTTP validation error.

Should the url not be quoted with double-quotes? Without out this, it throws error.

Here is a public api:

https://simple-api.github.io/api-offices/

to try out.

I haven’t even gone to set up snaplex. Just trying it out in Designer.