I have a problem where I get the following error “Could not generate view for HttpClient”. I need to perfom some POST and GET requests to an API using UiPath Studio, however, it is impossible since I can’t get my HttpRequest activity to work correctly.
Regarding “ried deleting existing and readding the activity” I dont know what you quite mean? I have tried deleting the whole project and creating a whole new one, yes, if thats what you are asking. The same error appears.
hello @nmjvk have you tried uninstalling the WebAPI activities packages then reinstalling? Do you have this problem across all projects or just this one?
Can you share here the main.xaml and project.json that is causing the error?
Do you get the error right after you add the activity to the workflow or only after you configure it?
So usually this means there is an error in the .xaml but we need more information.
Firstly we need a screenshot of your dependencies in the project pane to make sure they are loaded correctly.
Next there should be a message in the output panel indicating some errors, we need those.
Once those are shared to issue should become clearer.
Sorry for the delay in response. I get my HTTP request to work when I downgrade my “UiPath.WebAPI.Activities” all the way down to 1.18.0. Running it at 1.21.0, 1.20.0 or 1.19.0 does not work. Can anyone replicate this and confirm if this is true or not?