Questions tagged [field-integrity-exception]

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

FIELD_INTEGRITY_EXCEPTION Causing multiple rows to fail on Bulk API 2.0 upsert

When performing a mass upsert of Accounts using Bulk API 2.0 we are getting FIELD_INTEGRITY_EXCEPTION errors that are caused by bad country/state code values (Country/State picklist feature enabled). ...
1
vote
1answer
38 views

ContentDistribution FIELD_INTEGRITY_EXCEPTION

I'm trying to insert a record to ContentDistribution object using the following: Here is the doc says: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/...
1
vote
1answer
82 views

How to delete files from salesforce?

@AuraEnabled public static String deleteDocuments(List<String> docIds){ Set<Id> parentIds = new Set<Id>(); try{ List<ContentDocumentLink> cdltodelete = New ...
0
votes
0answers
34 views

FIELD_INTEGRITY_EXCEPTION - When uploading NULL dates in data upload (sometimes!)

We're experiencing intermittent errors when uploading large-volume datasets with NULL date values in some fields. Example error message as follows: FIELD_INTEGRITY_EXCEPTION:Closed Date: invalid date:...
0
votes
1answer
51 views

Insert AgentWork records on test context

I am currently trying to build a schedulable class that will perform several operations based on a scope of AgentWork records. However, on the creation of AgentWork records for the test class, I am ...
2
votes
0answers
529 views

Field Integrity Exception while deploying Flow

I've a flow which saves fine and as of now do not run into issues on dev sandbox. However , when I try to deploy this to Test org I run into Field Integrity Exception. As a series of tests to find out ...
0
votes
1answer
1k views

How to fix exception-field integrity exception: Type, Quantity, unknown

I am getting the error ( field integrity exception: Type, Quantity, unknown ) while creating an opportunity line item schedule in a flow in production. I am unable to reproduce this issue in sandbox. ...
2
votes
1answer
4k views

FIELD_INTEGRITY_EXCEPTION, Invalid role assignment.: []

I am building some test data in my unit test. Roughly I have something like this: @IsTest static void getUserTest() { Account acct = new Account(); acct.Name = 'Test Account'; insert ...