- changed status to resolved
MetadataComponentDependency not supported
Issue #2069
resolved
When issuing SOQL queries on the MetadataComponentDependency
object, getting the following error :
org.apache.cxf.binding.soap.SoapFault: INVALID_TYPE: sObject type 'MetadataComponentDependency' is not supported.
The API version of the connection is 54, which is higher than 47, the version in which MetadataComponentDependency was introduced.
The same query work in the developer console of the org.
Comments (3)
-
repo owner -
Account Deleted reporter Yes It works, did not realise that, sorry for bothering you !
-
repo owner No bother at all. Glad it helped!
- Log in to comment
Hi.
MetadataComponentDependency
is a Tooling API SObject. Please make sure to toggle the Use Tooling API toolbar button in the SOQL Query tool window and that query should work.