# HTTP Request Status code 202

**URL:** <https://discourse.nodered.org/t/http-request-status-code-202/21884>\
**Category:** General\
**Created:** [17 February 2020 19:13 UTC](https://discourse.nodered.org/t/http-request-status-code-202/21884 "2020-02-17T19:13:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fscosta10](https://avatars.discourse-cdn.com/v4/letter/f/a8b319/32.png) [@fscosta10](https://discourse.nodered.org/u/fscosta10)\
**Post date:** [17 February 2020 19:13 UTC](https://discourse.nodered.org/t/http-request-status-code-202/21884/1 "2020-02-17T19:13:57Z")

</div>

Hi all,

I am using the http request node and for some inputs I am getting the status code 202. How can I change the timeout limit of this node? If the timeout is not the problem, what I have to change to specify that "I" want to wait until the the request is fullfilled.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [17 February 2020 19:52 UTC](https://discourse.nodered.org/t/http-request-status-code-202/21884/2 "2020-02-17T19:52:18Z")

</div>

Hi,  
In your settings.js file, you can find this:

```auto
// Timeout in milliseconds for HTTP request connections
// defaults to 120 seconds
//httpRequestTimeout: 120000,

```

Bart

---

<div class="post-metadata">

**Author:** ![fscosta10](https://avatars.discourse-cdn.com/v4/letter/f/a8b319/32.png) [@fscosta10](https://discourse.nodered.org/u/fscosta10)\
**Post date:** [18 February 2020 09:43 UTC](https://discourse.nodered.org/t/http-request-status-code-202/21884/3 "2020-02-18T09:43:42Z")

</div>

Hi Bart,  
Thanks for the response. Do you know the location of settings.js ? I have an instance on IBM cloud, and I am connecting via ssh

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 February 2020 09:51 UTC](https://discourse.nodered.org/t/http-request-status-code-202/21884/4 "2020-02-18T09:51:17Z")

</div>

On IBM cloud, the file is called bluemix-settings.js, but you cannot edit it by sshing into the application image. You have to use the Continuous Deployment feature of IBM Cloud to edit the source of the app and then deploy the changes back.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 March 2020 09:51 UTC](https://discourse.nodered.org/t/http-request-status-code-202/21884/5 "2020-03-03T09:51:19Z")

</div>

Closed on 3 March 2020 09:51 UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
