diff --git a/packages/frontend/src/crm/lexware/LexwareSyncPage.tsx b/packages/frontend/src/crm/lexware/LexwareSyncPage.tsx index 6469292..1ff5252 100644 --- a/packages/frontend/src/crm/lexware/LexwareSyncPage.tsx +++ b/packages/frontend/src/crm/lexware/LexwareSyncPage.tsx @@ -75,8 +75,9 @@ function ImportTab() { const createContact = useCreateContact(); // Load CRM entities to detect already-imported Lexware contacts - const companiesQuery = useCompanies({ page: 1, pageSize: 500, sort: 'name', order: 'asc' }); - const contactsQuery = useContacts({ page: 1, pageSize: 500, sort: 'lastName', order: 'asc' }); + // pageSize max 100 (backend DTO validation @Max(100)) + const companiesQuery = useCompanies({ page: 1, pageSize: 100, sort: 'name', order: 'asc' }); + const contactsQuery = useContacts({ page: 1, pageSize: 100, sort: 'lastName', order: 'asc' }); // Build lookup: lexwareContactId → { type, name, id } const linkedMap = new Map();