Skip to main content

BulkOperationError

  • Namespace: PPDS.Dataverse.BulkOperations
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary

Error details for a failed record in a bulk operation.

Members

Properties

Diagnostics

IReadOnlyList<BatchFailureDiagnostic> Diagnostics { get; set; }

Gets diagnostics identifying which record(s) caused the batch failure.

ErrorCode

int ErrorCode { get; set; }

Gets the error code.

FieldName

string FieldName { get; set; }

Gets the field name that caused the error, if identifiable from the error message. Useful for debugging lookup failures and required field errors.

FieldValueDescription

string FieldValueDescription { get; set; }

Gets a description of the field value that caused the error (sanitized for logging). For EntityReference: "{LogicalName}:{Id}". For other types: type name only. Does not contain actual data values to avoid PII in logs.

Index

int Index { get; set; }

Gets the index of the record in the input collection.

Message

string Message { get; set; }

Gets the error message.

RecordId

Nullable<Guid> RecordId { get; set; }

Gets the record ID, if available.