DEV Community

Jaeyoung Jung
Jaeyoung Jung

Posted on

Missing Required Key in Body of PUT /odata/Assets({Key}) Edit an asset on UiPath.WebApi 18.0

PROBLEM

While Editing an asset with orchestrator API, even though put all required keys in body(AssetDto), 404 error occurred with “Asset does not exist”.

Image description


CAUSE

In the body(AssetDto), Name and ValueScope are marked as required keys. However Id is also required key.

Image description


SOLUTION

Add Id in the body.

Image description

Top comments (0)