Salesforce api erro...
 
Notifications
Clear all

[Solved] Salesforce api error - Provided external ID field does not exist or is not accessible

2 Posts
1 Users
0 Likes
787 Views
Posts: 205
 CWL
Admin
Issue starter
(@cwl)
Member
Joined: 11 years ago

Getting the following error in Salesforce Standard API when doing a PATCH request.

{
"errorCode": "NOT_FOUND",
"message": "Provided external ID field does not exist or is not accessible: CODE__c"
}
Issue Tags
api
1 Reply
Posts: 205
 CWL
Admin
Issue starter
(@cwl)
Member
Joined: 11 years ago

Its because the field CODE__c is not marked as external id. Make sure the external id check box is checked for that field and then the API will work. Ideally it should be unique and required.

Reply
Share: