UiPath Maestro Giving Index Error though Index is configured in Context Grounding

UiPath Maestro Giving Index Error though Index is configured in Context Grounding

Issue Description

Maestro Job is failing near "Run Agent" with an Index error, though the proper Index is configured in Context Grounding.

Error message

{"Code":"Agent.BaseError","Title":"Failed to find index with name=Name_of_the_Index","Detail":"Failed to find index with name=Name_of_the_Index\nErrorCode:Agent.BaseError\nTraceId:xxxxxxxxxxxxxxxxxxxxxx\nTool of type Context failed because: Failed to find index with name=Name_of_the_Index\n","Category":null,"Status":424}

Root Cause

Index permissions that are necessary for the Robot Account are not provided.

Resolution

Make sure the Robot User that is running Agent has access to the Index.

  1. Navigate to the Orchestrator >> Manage Access >> Respective "Robot Account"
  2. Edit the respective "Folder" Role.
  3. Select "Index" - View permissions.
    NOTE: Make sure to check Storage Files and Storage Bucket permissions are added.


Contact UiPath Product Support

In case further assistance is needed, add the following information when opening a support request:

  1. Download the logs for the failure run from Maestro.
  2. Share with us (As shown in the screenshot below):
    1. Instance ID:
    2. Incident ID:
    3. Time Stamp:
    4. Error:
    5. Tenant Name:
    6. Support ID:
    7. Cloud URL: