Please help in http returns nothing

Please help everyone the http activity does not return anything when i request



Please help, i have printed what’s in the text file and it came out but the content in http is empty

Anyone i ask for your assistance

Hi @Anelisa_Bolosha1

May be this is the issue * Request URL - The URL to which you want to make the request. Custom segments have to be placed between braces “{}” and defined in the Parameters section. For example, this URL https://platform.uipath.com/odata/Robots(28) can be written as https://platform.uipath.com/odata/Robots{id}, and the value of the id parameter can be provided in the URLSegments window.

Check the below documentation to know more about HTTP request activity.

Hope it helps!!

2 Likes

Hi,

If your response status is 0, your request is not reached to the endpoint. Can you try to check settings of network such as Proxy, personal firewall etc.

Regards,

1 Like

Hi, on the url I dont have any custom segments, i’m just putting in the value on the body which is the string

It may be this issue but the other sequence I have used there is http activity and it works

image
Here is the error I get

Can you upload your workflow sequence, that would give more clear picture

API_model.txt (26 Bytes)
Create Case-Unstructured.txt (2.8 KB)


image

image
image


image

Endpoint(it’s an API model):
https://abc.azure-api.net/sit/centraldecisionengine/azure_ml_models/Complaints_Classifier

Hi,

424 means as the following. Can you check if you should request something and it’s successful before this request?

Regards,

2 Likes

On postman I request and it’s working fine, in UiPath studio I checked if the body that goes in the http activity is printed and it’s printed

Hi @Anelisa_Bolosha1,

Kindly check the dependency of the API the dependency in terms of what is required to do before executing this API.

The HTTP 424 Failed Dependency client error response code indicates that the method could not be performed on the resource because the requested action depended on another action, and that action failed.

1 Like

When I first open the project this comes up:


I click ok then open it from here again:

By double clicking and it opens, I’m not sure if that could have an impact on that http error maybe

Trying to check on this with the admins of this API

@Anelisa_Bolosha1 - .net - HRESULT: 0x80131040: The located assembly's manifest definition does not match the assembly reference - Stack Overflow

I had developed this solution in an old version before 2020, now I am using newer version…but the http request activity I had did it in this new version

@Anelisa_Bolosha1 Try Clean and Rebuild

1 Like

Apon rebuilding, is it possible to just copy activities to the new project or I have to start from scratch everything?