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

What does this mean?

Raj
New Contributor II

REST Get snap in designer itself is throwing error.

jcampion
New Contributor III

Are you reading a workday report? If so, did you set the account on the REST GET with the proper credentials? If you are trying to use the SOAP API, this is not the way to do it. I can read a WD report using the REST GET with proper credentials set in a BASIC AUTH account. I do not have the Content-Type set in the HTTP header.

In the following (downstream) snap I have a json splitter with this expression:
$entity[โ€˜wd:Report_Dataโ€™][โ€˜wd:Report_Entryโ€™][*]

Hope this helps!