Context grounding Error: Bad Request

Hi, I am currently working with context grounding “index and ingest” and “content generation activities” but I keep facing this error message: 2024-06-25 9:11:30.305 GMT−4: Error: UiPath.IntegrationService.Activities.Runtime.Exceptions.RuntimeException: Request failed with error:
ProviderMessage : type - RFC 9110 - HTTP Semantics, title - One or more validation errors occurred., status - 400, errors - {ragRequest=[The ragRequest field is required.], $.search.schema.id=[The JSON value could not be converted to System.Guid. Path: $.search.schema.id | LineNumber: 0 | BytePositionInLine: 505.]}, traceId - 00-83f0c0aa64e3e1f57a453d35f8898087-dc1386326210c612-00
ProviderErrorCode : 400
RequestId : 667ac208e4b03a3c6a019317
Message : Bad Request

Status code: BadRequest. Error code: DAP-RT-1101.
at UiPath.IntegrationService.Activities.Runtime.Services.ExecutionService.SendMultipartRequestAsync(String requestUri, ExecutionParameters executionParameters, HttpMethod httpMethod, String multipartName, ICollection`1 jitInputs, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Services.ExecutionService.ExecuteOperationAsync(ExecutionParameters executionParameters, ConnectorActivityConfiguration activityConfiguration, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Activities.ConnectorActivity.ExecuteAsync(AsyncCodeActivityContext context, CancellationToken token)
at UiPath.IntegrationService.Activities.Runtime.Activities.AsyncTaskCodeActivityImplementation.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at UiPath.IntegrationService.Activities.Runtime.Activities.AsyncTaskCodeActivity.EndExecute(AsyncCodeActivityContext context, IAsyncResult result)
at System.Activities.AsyncCodeActivity.CompleteAsyncCodeActivityData.CompleteAsyncCodeActivityWorkItem.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)

is there any help I could get on this?

image

For what i can see, you are making an API call. The 400 Bad Request Error means that your’e not using the proper formating while trying to do the API call. Can you provide more context so we can understand better what are you trying to do?