Skip to main content

Questions tagged [field-integrity-exception]

Filter by
Sorted by
Tagged with
1 vote
1 answer
228 views

RowCause (Specified value is reserved and cannot be used): [RowCause]

My requirement is when user submit the log it should make the log record read only for the user who is submitting it and representative(another field on log which has lookup with user ). I have kept ...
Prajkta's user avatar
  • 11
-1 votes
1 answer
232 views

What does FIELD_INTEGRITY_EXCEPTION mean?

when I try to save my aura controller this pop up doesn't allow me to save it Failed to save demo.js: Failed to parse CONTROLLER for js://c.demo: org.auraframework.util.json.JsonStreamReader$...
Sakshi's user avatar
  • 1
1 vote
1 answer
154 views

FIELD_INTEGRITY_EXCEPTION - How do I turn off the Integrity checks?

I am getting the error "There's a problem with this state, even though it may appear correct. Please select a state from the list of valid states.: Shipping State/Province" when creating an ...
jroyce's user avatar
  • 113
0 votes
0 answers
519 views

Test Class Fail - first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception (Guest users cannot be record owners.):

I'm getting above error message when I run a test class. This class has nothing to do with Public sites/community. As per the research, I have explicitly added an OwnerId for the record. But still it ...
L Mudiyanse's user avatar
0 votes
0 answers
610 views

FIELD_INTEGRITY_EXCEPTION BillingCountry

How can I tell if I should send the full country name or two letter ISO field, when creating accounts? I made an API call here and I see the billing country is a text field with a length of 80 ...
user1255637's user avatar
1 vote
1 answer
770 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/...
Nick's user avatar
  • 7,030
1 vote
1 answer
6k 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 ...
Frank's user avatar
  • 423
0 votes
1 answer
375 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 ...
user1067017's user avatar
  • 1,017
2 votes
1 answer
5k 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 ...
Sagnik's user avatar
  • 615
2 votes
3 answers
15k 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 ...
Arthlete's user avatar
  • 4,917