[SalesForce] Cannot Access RecordType.DeveloperName Field as System Admin

I'm a System Admin in an org and today our Flow was throwing errors saying no such field RecordType.DeveloperName. I tried running a SOQL query using that field in Developer Console and I get same error if I run the query using Tooling API. If I uncheck Tooling API query runs fine. The error from the Flow is below.

ERROR at Row:1:Column:8 No such column 'Developername' on entity
'RecordType'. If you are attempting to use a custom field, be sure to
append the '__c' after the custom field name. Please reference your
WSDL or the describe call for the appropriate names.

I can use the Tooling API in the SOQL to include all RecordType fields except the DeveloperName.

I don't know how these two errors are related but need to access RecordType.Developername in any case. Any thoughts on problem here?

Best Answer

This was a bug that Salesforce has fixed with a patch release shortly after I posted it. While the Tooling API doesn't have DeveloperName field it should not have had anything to do with Flows and it did.

Related Topic