# The request is invalid error

**URL:** <https://discourse.nodered.org/t/the-request-is-invalid-error/67699>\
**Category:** General\
**Created:** [14 September 2022 12:43 UTC](https://discourse.nodered.org/t/the-request-is-invalid-error/67699 "2022-09-14T12:43:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MiliH](https://avatars.discourse-cdn.com/v4/letter/m/34f0e0/32.png) [@MiliH](https://discourse.nodered.org/u/MiliH)\
**Post date:** [14 September 2022 12:43 UTC](https://discourse.nodered.org/t/the-request-is-invalid-error/67699/1 "2022-09-14T12:43:24Z")

</div>

Hello,  
Greeting!

When I am passing parameter in REST API in HTTP request node, it is throwing the request is invalid error.

I am passing parameter in below format

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/1/6182bc184cbe57485a922de77fdc33d3f55a439b.png)

Find error snap below  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/8/48a6a3bf50cb083220d1b508328d09af5a2b0e15.png)

---

<div class="post-metadata">

**Author:** ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)\
**Post date:** [14 September 2022 13:35 UTC](https://discourse.nodered.org/t/the-request-is-invalid-error/67699/2 "2022-09-14T13:35:54Z")

</div>

Hello ..

In the http-request node's help window it mentions how to replace parts of the URL with a msg property

> if the url is set to `example.com/{{{topic}}}`, it will have the value of `msg.topic` automatically inserted. Using {{{...}}} prevents mustache from escaping characters like / & etc.

So based on your screenshot .. you dont need `msg.` infront of `edsId`

---

<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:** [28 September 2022 13:36 UTC](https://discourse.nodered.org/t/the-request-is-invalid-error/67699/3 "2022-09-28T13:36:00Z")

</div>

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