In Salesforce Flow, a Get Records (FlowRecordLookup) element generates a SOQL query to retrieve records based on specified filters and fields. If a custom field referenced in that query does not exist on the target object in the current environment, has been deleted, has a mismatched API name, or is not accessible to the running user due to field-level security, the flow fails at runtime with an error such as:
_"No such column 'CustomField__c' on entity 'CustomObject__c'. 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."
The field name shown in the error identifies the specific custom field that could not be resolved. This error commonly occurs when a flow is promoted from sandbox to production but the custom field was not included in the deployment, or when field-level security settings differ between environments.
This behavior applies to any Salesforce Flow Get Records element referencing a custom field on a standard or custom object.
Missing or incorrectly named custom field: The custom field referenced in the Get Records element does not exist on the target object in that environment, has been deleted, or its API name does not match what the flow references (for example, a typo in the field name or a missing __c suffix).
Field-Level Security (FLS) restriction: The custom field exists and is correctly named, but FLS is not set to Visible for the profile or permission set of the user running the flow. Because the Get Records element generates a SOQL query, an inaccessible field causes the query to fail with the same "No such column" error.
CustomField__c) and the object name (for example, CustomObject__c) from the error message.If the field exists and the API name is correct, but the error still occurs, verify that users running the flow have access to the field.
When a Get Records element is configured to Automatically Store All Fields, Salesforce generates a SOQL query that retrieves every field on the object. If any field is missing or inaccessible in the target environment, the query can fail with a "No such column" error.
To reduce this risk:
After making the changes, verify that the issue is resolved.
005388932

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.