Skip to content
Bug Barometer

Relationship query on external objects fails with Internal Server Error when the data source uses Named Credential authentication

Not fixed yet. Salesforce is reviewing it.

Summary

When a Cross-Org (Salesforce Connect) external data source uses Named Credential authentication, a SOQL query on an external object that includes a relationship field (e.g. AccountId__r.Name__c on Contact__x) fails with an Internal Server Error if the number of referenced parent records is large enough that the parent lookup is split into multiple requests.

Workaround

We haven't loaded the full details for this issue yet. Check the official page.

History

  1. First tracked here as In Review with 7 reports

    Nov 30, 2026

Also open in Identity & Authentication