Salesforce Id in Na...
 
Notifications
Clear all

[Solved] Salesforce Id in Name filed when inserting via standard API

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

Salesforce IDs are getting inserted into Record Name fields when trying to insert a record via Salesforce Standard API.

Issue Tags
api
1 Reply
Posts: 205
 CWL
Admin
Issue starter
(@cwl)
Member
Joined: 11 years ago

Figured it out. Name is a required field and when you supply null value via JSON, the newly created record's id is used for the record Name field as well. So make sure Name is not null and some value is passed in the JSON body when inserting via API.

Reply
Share: