Hi, I am trying to send a file from ‘Wait for download’ activity using HTTP Request, When I checked logs from API, it shows that I sent the request without problem:
For some more hints, I would suggest using a dummy file and then sending the same request via both:
the working method
UiPath activity
to a service like this one:
or
This way you can visually compare both requests, and see if maybe there are some crucial differences to be aware of.
At first look, it might be a bug in the activity not properly “understanding” that the request was successful, but I cannot say it with certainty just yet. This is why the above test would be super helpful.
1- What is the working method?
2- When I tried with “webhook.site” everything worked properly. So does it indicate that there is problem with my FastAPI code?
update: Yes!! Problem was with my API. I fixed it now everything work properly.
Hi,
so from UiPath you are sending a request to the python fast api code and that request is getting timed out correct?
can you have your fast api return a basic response code just 200 and check
or just have a basic func for checking connectivity between fast api and UiPath. A python func that just returns hello world.
I’m glad it worked out. These services I linked are meant to simply retrieve the request and visually display it to help with debugging, which seems to have helped
I wouldn’t send anything sensitive to those services, but I often find myself mocking some data and quickly testing things this way to see that everything is working as it should.
I agree, even though they say that they delete the data. We should be careful with these kind of situations. Unfortunately sometimes it becomes hard to find data looks like original one and it makes everything harder.