You need to sign in to do that
Don't have an account?

Cannot reproduce INVALID_FIELD_FOR_INSERT_UPDATE
I have an integration that a customer is using and they are getting this error when trying to create a record:
I cannot reproduce this error no matter how I change my permissions and settings. None of the posts about INVALID_FIELD_FOR_INSERT_UPDATE seem to be related to this issue.
I'm creating it with the ruby gem as follows
Thanks
"Unable to create/update fields: app__Status__c, app__ReferenceNum__c. Please check the security settings of this field and verify that it is read/write for your profile or permission set.\",\ "errorCode\":\"INVALID_FIELD_FOR_INSERT_UPDATE\",\" fields\":[\"app__Status__c\",\"app__ReferenceNum__c\"]}]"
I cannot reproduce this error no matter how I change my permissions and settings. None of the posts about INVALID_FIELD_FOR_INSERT_UPDATE seem to be related to this issue.
I'm creating it with the ruby gem as follows
client.create('app__Idea__c', Name: xxx, app__ReferenceNum__c: xxx, app__Status__c: xxx)What is causing this error and or how can I recreate it?
Thanks
There could be two issue:
1. You just check field level security for these fields and make sure the profile used by your integration has edit and read access check box checked.
2. There could be a record type issue, i mean certain field will be visible to certain record type only so please test by putting certain record type as well.
Regards,
Pawan Kumar
Given that I have tried all manner of permission settings to reproduce this error and cannot, I feel that looking at the users account will not help me because I'm probably missing some other type of permission it could be.
Try to replicate the permission sets and also the FLS (field level security) by comparing it in both orgs and then try to run your code.