Currently I am just trying to insert a new Customer, which is just a custom name for an account using the rest API. I am getting the following error related to RecordTypeId which I am confused about since I am pulling the right ID.
{
"message": "Customer Record Type: this ID value isn't valid for the user: 0124W000001LQCqQAO",
"errorCode": "INVALID_CROSS_REFERENCE_KEY",
"fields": [
"RecordTypeId"
]
}
Here are 2 images showing how I obtained this RecordTypeId.
As you can see above the record type attached to my Customer object is "AccountRecord Type I Made". In the second picture I am showing the URL which is where I got the RecordTypeId that I am passing. Here is the JSON I am sending to the API.
{
"RecordTypeId": "0124W000001LQCqQAO",
"Customer_ID__c": "999999",
"Name": "Test User",
"PersonEmail": "[email protected]",
"Phone": "469-999-8888",
"Sign_Up_date__c": "2021-01-25",
"BillingStreet": "1111 Maple Ave",
"BillingCity": "Dallas",
"BillingState": "Texas",
"BillingPostalCode": "75235",
"BillingCountry": "USA"
}
Appreciate any help, I am pulling my hair out over this one, been stuck on it since last week.