---
schema_version: "1"
id: 96e15d32145cf3a9b12c330572538e6e2065706a6f4ba9d261190faf15097881
title: PrivacySessionRecordFailure
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_privacysessionrecordfailure.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_privacysessionrecordfailure.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 06bde973d88dce1dac0e2f319aa5732615808a9125a2308f52e75f7aa6277ec8
description: Represents error messages encountered during policy job executions in Privacy Center. This object is available in API version 59.0 and later.
---
# PrivacySessionRecordFailure

Represents error messages encountered during policy job executions in Privacy Center. This object is available in API version 59.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

## Special Access Rules

This object is available for users with the Privacy Center license and the Manage Privacy Center Policies user permission.

## Fields

| Field | Details |
| --- | --- |
| ErrorMessage | 
Type

textarea

Properties

Nillable

Description

The description of the error encountered during the policy job execution.



 |
| ErrorType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The type of error encountered during the policy job execution.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

Represents the job session record. This is a serialized, automatically generated number field.



 |
| OwnerId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the owner of the account associated with the customer that the policy was executed for.

This field is a polymorphic relationship field.

Relationship Name

Owner

Relationship Type

Lookup

Refers To

Group, User



 |
| PrivacyObjectSessionId | 

Type

reference

Properties

Filter, Group, Sort

Description

The ID of the object in the policy job session.

This field is a relationship field.

Relationship Name

PrivacyObjectSession

Relationship Type

Lookup

Refers To

PrivacyObjectSession



 |
| RecordIdNumber | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The ID of the record that failed to be processed by the policy job.



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[PrivacySessionRecordFailureOwnerSharingRule](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_ownersharingrule.htm "StandardObjectNameOwnerSharingRule is the model for all owner sharing rule objects associated with standard objects. These objects represent a rule for sharing a standard object with users other than the owner.")

Sharing rules are available for the object.

[PrivacySessionRecordFailureShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.