Attributes
- idstringUnique identifier for the object. 
- objectstringString representing the object’s type. Objects of the same type share the same value. 
- codeenumA code indicating the reason for the error. Possible enum valuesinvalid_cascading_ source The object is not redactable because of a related object’s existing state. Refer to the messageprop for more context.invalid_file_ purpose The object’s related file is not redactable. Refer to the messageprop for more context.invalid_state The object is not redactable because of its own existing state. Refer to the messageprop for more context.locked_by_ other_ job The object is currently used in another redaction job. Cancel the other job to resolve this error. too_many_ objects Your job is trying to redact too many objects. Cancel this job and reduce the number of IDs in the Redaction Job’s objectsprop in a new job. If this error persists, reach out to support.
- erroring_objectnullable object If the error is related to a specific object, this field includes the object’s identifier and object type. - erroring_object.idstring Unique identifier for the object. 
- erroring_object.object_ typestring Erroring object type 
 
- messagestringA human-readable message providing more details about the error. 
{  "id": "prjve_123",  "object": "privacy.redaction_job_validation_error",  "code": "invalid_state",  "erroring_object": {    "id": "pi_123",    "object_type": "payment_intent"  },  "message": "PaymentIntent is not finalized. Confirm or cancel the payment intent."}