dazzling-kangaroo-53792
12/20/2025, 3:26 AMdazzling-kangaroo-53792
12/20/2025, 3:26 AMdazzling-kangaroo-53792
12/20/2025, 3:26 AMdazzling-kangaroo-53792
12/20/2025, 3:27 AMdazzling-kangaroo-53792
12/20/2025, 3:27 AMWebhook request failed: ${error.message}
// We still return success: false to prevent the bot from crashing.
return { success: false, message: errorMessage }
}gentle-policeman-89141
12/21/2025, 3:59 PMcreateTableRows incorrectly, you have put the table name in the wrong place i think. this is how i do it: const { rows: inserted, errors } = await client.createTableRows({
table: targetTable,
rows: [ baseRow ]
});gentle-policeman-89141
12/21/2025, 4:05 PMgentle-policeman-89141
12/21/2025, 4:05 PMloud-crowd-60573
12/22/2025, 7:00 PMdazzling-kangaroo-53792
12/27/2025, 12:07 AMdazzling-kangaroo-53792
12/27/2025, 12:26 AMdazzling-kangaroo-53792
12/27/2025, 12:26 AMFailed to insert row into LeadsTable: ${errorDetails});
}
bp.logger.info('Successfully saved lead to internal Botpress LeadsTable via client.', { inserted });
} catch (error) {
// The outer catch block will now handle any errors thrown.
bp.logger.error('CRITICAL WARNING: Failed to save lead to internal Botpress table.', error.message);
}gentle-policeman-89141
12/27/2025, 10:03 AM