You need to sign in to do that
Don't have an account?
ollie123
Record type unavailable. Cannot find default record type of the appropriate type.
Record type unavailable Cannot find default record type of the appropriate type.
I am seeing this error when trying to Convert a lead. I have checked the profile for the current user, and the default record types are both Contacts and Accounts are accessible. (I have selected Do Not Create Opportunity, though there are no opportunity record types).
The docs were no help at all, no results in Google for the error. Does anyone know what the solution is?
All Answers
I had a very similar issue after migrating one org to another.
The convertLead() function seems to require a default record type for Contact, Account and Opportunity. Since I migrated the profiles they did not have a default and there was only 1 record type available.
I fixed by creating a second record type and then selecting the default. Afterward i disabled the second record type. Might be able to simply create a new profile. not sure why it would occur on the Admin profile... I verified by checking the users default record type options. Some where missing since there was only one record type. Seems logical that only one should work but after i created a second, reassigned the default and removed the second it worked ok again. Odd circumstance i suppose.
I just ran into this same error. Can you elaborate on how to change the default record type?
Thanks! I can't convert any leads :(
Setup-->manage users--> Profile
Select the profile.
Go to
Record Type Settings: Click on the Edit link in interested object. Choose the default record type.
Please go to the profile and check the record type section, there is a option for default record type for account, edit that and also choose a value for person account.
It will defiantly work if there is an issue please let me know.
Hope that helps anyone in a similar situation.
my organization is enabled Parson Account, and not using Business Account.
I'll show how I was successful.
I've updated the Lead.Company in the blank, Before the execution of [Database.convertLead].
It was successful.
If this method help you of everyone, I am glad.
The way I solved it was to go to the Profile, Account Reord type Defaults and configured the record type to match i.e for my example Business Accounts are linked to the company record type and Person Accounts are linked to a Person account record type.