diff --git a/packages/twenty-front/src/modules/object-record/hooks/useFindManyRecords.ts b/packages/twenty-front/src/modules/object-record/hooks/useFindManyRecords.ts index 68e333eb07123..0a92387ddafb7 100644 --- a/packages/twenty-front/src/modules/object-record/hooks/useFindManyRecords.ts +++ b/packages/twenty-front/src/modules/object-record/hooks/useFindManyRecords.ts @@ -124,7 +124,7 @@ export const useFindManyRecords = ({ const fetchMoreRecords = useCallback(async () => { // Remote objects does not support hasNextPage. We cannot rely on it to fetch more records. - if (hasNextPage || !isAggregationEnabled(objectMetadataItem)) { + if (hasNextPage || (!isAggregationEnabled(objectMetadataItem) && !error)) { setIsFetchingMoreObjects(true); try {