Cant update a published project

Hello guys, I have published a project that I use a lot on my UiPath assistant. I wanted to upload another updated version of the project, but get this error:


How to solve it? I got it once before, had to rewrite the whole code…

HI @Povilas_Jonikas ,
I see you’ve encountered this error before

1 Like

Hi, @Povilas_Jonikas

Could you try this and see if it works for your issue?

Hello @Nguyen_Van_Luong1 ,
Yes , I did, but its a shame that I got it another time. As I said, I’ve solved it by rewriting my code, but it’s strange. I dont even know, what causes this error, and every time I need to rewrite it now?

Hi @Povilas_Jonikas ,
The error is in “UiPath.webAPI.runtime”
image

Maybe you have any activity with the web that is faulty
or
you can open .json file in your project by text editor
then find that key error is “UiPath.webAPI.runtime”
check in here, I think there are 2 duplicate rows

when you create new project, then paste this code agant, it auto edit this .json file. maybe not error. I think so, but let you try it

Hope it help

regards,

1 Like

When I view Main.xaml with notepad, i can find 3 rows that have runtime in them, but i cant find anything with “UiPath.webAPI.runtime”

Could you please share your source
but if it private you can send to me in message

or check again all item with web, api, have 2 values
regards,

1 Like

Try to find it in the workflow that you are using WebAPI Activities

1 Like

@Povilas_Jonikas

Try uninstalling webapi and reinstall

Try to verify project.json

Also open details and show here

Cheers

1 Like

Sorry for the later response, had some other things to do.

So basically, i checked Main.xaml with notepad, searched for UiPath.webAPI.runtime but didint find anything. I checked then project.json of the workflow, found only one line with the words “UiPath.webAPI.runtime”.

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