Bug: Some lookup fields resolve to "null" values in API, Grid View and CSV export on self-hosted deployments
Author: yshindouCreated Jul 6, 2026Updated Sep 26, 2026
Please confirm that the bug report does not already exist
- I confirm there is no existing issue for this bug.
Steps to reproduce
The exact root cause has not yet been isolated, but the issue can be observed under the following conditions:
- Create multiple tables linked using
Link to Another Record. - Add several lookup fields that retrieve values from related tables.
- Insert records and configure the relationships.
- Ensure the affected table contains only a single record.
- Open the table in Grid View.
- Retrieve the same record through the API.
- Export the view as CSV.
Desired Behavior
Affected lookup fields should return values from related records in:
- Grid View
- API responses
- CSV export
Lookup fields should return values from linked records.
Example:
{
"lookup_field": "Value1,Value2,Value3"
}Actual behavior
Some lookup fields return null values.
Example API response:
{
"lookup_field": "null,null,null"
}Project Details
Node: **v24.14.0**
Arch: **x64**
Platform: **linux**
Docker: **false**
RootDB: **pg**
PackageVersion: **2026.06.2**Attachments
Additional observations
- Linked records exist and are correctly associated.
- The issue is not limited to UI rendering because API responses already contain null values.
- Some lookup fields continue to work correctly within the same table.
- Some affected fields may be associated with more complex lookup chains, but I have not yet identified the exact trigger condition.
Comparison with NocoDB Cloud
The same schema behaves correctly on NocoDB Cloud.
| Environment | Result |
|---|---|
| Self-hosted 2026.04.1 | Reproduced |
| Self-hosted 2026.06.2 | Reproduced |
| NocoDB Cloud | Works correctly |
Source: nocodb/nocodb