function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ayub AnsariAyub Ansari 

INVALID_TYPE Error while fetching RecordTypeInfos as sub-query on EntityDefinition object in Tooling API

Hi Salesforcian,

As per the definition of object EntityDefinition ( (a tooling API object), we can query "recordTypeSupported" as sub-query:

User-added image

By using workbench, I am trying to query same data as following but I am getting exception - "Didn't understand relationship 'RecordTypesSupported' in FROM part of query".
Does anybody have a clue why this is happening?

Thanks in advance!!

Ayub AnsariAyub Ansari
Please note that I am using API version 35.0