get request missing value

Member for

6 months baarzo

Hi,

 

I'm using "Get Request2 node to extract web content from a list of URL.

For a majority of URLs the node works well, for some URL, randomly, the node gives a missing value.

If I select the URLs that give a missing value and put they again in the node it give me a correct results.

 

The issue is: how can I command at the "Get Request" node to continue to try to use a URL until the URL gives a response?

 

thanks

Comments
Tue, 05/16/2017 - 11:25

Member for

1 year 5 months

Vincenzo

Hello baarzo,

One option would be to create a loop and use the Variable Condition Loop node at the end of the loop which checks if the status from the GET Request node is 200 (which means that the request was fulfilled).

Hope that helps,

Best,

Vincenzo

Fri, 09/01/2017 - 04:06

Member for

2 months 2 weeks

Sreyams

I have some what similar issue in GET Request node

I have a workflow with POST request node that gets me a json output with access_token as one of the keys. How do I pass this access_token to a GET request where I need to use its value in a Request header such as "Authorization" as Bearer access_token

Tue, 09/05/2017 - 02:55

Member for

2 years 1 month

ferry.abt

Hey Sreyams,

If I understand it correctly what you want to do is extract the access_token from the json, make it a Flow variable (See e.g. Table Row To Flow Variable node), then in the dialog of the GET Request node in the tab "Request Headers" select "Add header parameter", enter the correct key, select the variable you have created as Header value and select Type "Flow variable".

Best,
Ferry