424 Failed to find index with name when running agent process from API trigger

Hi.

I have a problem when running an Agent process from API trigger.

Agent.BaseError - -Failed to find index with name=Chatbot Czyste Powietrze 2
 424 Failed to find index with name=Chatbot Czyste Powietrze 2
ErrorCode:Agent.BaseError
TraceId:db7bb98d7996b208c8bde69e47556301
Tool of type Context failed because: Failed to find index with name=Chatbot Czyste Powietrze 2

When I run the same process as “Start a job” the everything works fine. Job is succesfull.
My process and storage buchet and agent are in the same directory.

Can you verify index name, when you are passing it in API trigger, this should match EXACTLY the Storage Bucket Index name.

Also try to use exact index name in the API payload. Try to also verify the bucket path. Make sure this is accessible to agent. I think P drive may not be accessible.

Also verify if orch folder id is correct

I found the solution. It was needed to update rigths for machine to read indexes.

Great to hear this, happy automation.

You can mark it as complete.

Cheers :wink: