I'm having a difficult time figuring this out.

Ran the below snippet in Anonymous:

 RecordType rt = [SELECT Id FROM RecordType WHERE Name='RecordType_Name'];

Now, when I put the id in url i get an Insufficient Privileges Error. I'm on system administrator profile . Have checked that the record type is already made available for Sys Admin profile, also I'm able to create an Opportunity of the same record type.

Could somebody tell me as to what could be the issue here?

1 Answer 1


Record type is not directly accessible with given format. www.instanceurl.com/recordTypeId

Instead you have to use the below format.


eg. If my instance URL is "https://pranayDev-dev-ed.my.salesforce.com/"

and my recordTypeId is 012B0000000Llf8 ,

Then my record type URL will be : "https://pranayDev-dev-ed.my.salesforce.com/setup/ui/recordtypefields.jsp?id=012B0000000Llf8"


  • Is this is the way accessing record types work since long ago? Can't we access it directly via: www.instanceurl.com/recordTypeId? If so, why? Also is there any documentation/resources supporting this answer?
    – SatyaV
    Feb 19, 2018 at 19:53
  • It has been since start. There is no documentation to state this. Almost all setup objects are designed this way. Feb 20, 2018 at 13:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .