Unable to Pass Variables into HTTP request (URL segment)

Hi all,

I am trying to automate with HTTP-requests, but when a certain ID is fetched and later on used in a new HTTP-request as an UrlSegment it gives error 404. When I give the value (ID) hardcoded it works fine. What am I doing wrong? Have checked in multiple ways if the value is as expected.

Kind regards,


1 Like


Welcome to uipath forum

Can we see the type of variable been used and how it is mentioned the activity property panel
It would be great if you could share the screenshot of it

Cheers @Sander_Beijk

Hi Palaniyappan,

Thank you for your quick response.

It doesn’t work this way (2 Screenshots below).

But when I change the variable to “533” it works (screenshot below)

Thank you

Let’s check with few things

  1. First Check whether that vStrID has value in it

  2. And pass like this vStrID.ToString


Hi again,

  1. Yes, I have checked in many ways if the value is as expected

  2. Yes, done. No result, sadly

Im trying to call API through uipath. API for auto generating Token.

Hi, the problem was solved by updating the webAPI.Activities to 1.11.2.

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