MetadataComponentDependency not supported

Issue #2069 resolved
Former user created an issue

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)

  1. Scott Wells repo owner

    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.

  2. Log in to comment