This commit is contained in:
abertoni committed 2026-08-26 09:57:18 +02:00
1 parent 6ef49231dd
commit 5860f816c4
2 files changed
+10 -29

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
@echo off
cd /d "%~dp0"
if not exist logs mkdir logs
echo ===== Avvio: %date% %time% ===== > logs\output.log
node src\hubspotConnector.js > logs\output.log 2>&1
+3 -29
View File
@@ -1,30 +1,4 @@
===== Avvio: Wed Aug 26 09:13:57 CEST 2026 =====
◇ injected env (1) from .env // tip: ⌘ suppress logs { quiet: true }
◇ injected env (0) from .env // tip: ⌘ suppress logs { quiet: true }
Retrieving data from Keystone...
TEST/DRY MODE: Date not modified on JSON file.
Data retrieved successfully!
Now Connecting to Hubspot...
getAccessToken
getAccessToken
New access token generated
Hubspot connection is ready!
Connection successful!
--- DRY RUN MODE: No changes will be saved to HubSpot ---
Preview Lead 1:
[
{
id: 'videeshasawane@gmail.com',
idProperty: 'email',
properties: {
firstname: 'Videesha ',
lastname: 'Sawane',
email: 'videeshasawane@gmail.com',
phone: '+91 8454046665',
corso_keystone: 'Italian Culinary Program',
leadsource: 'keystone'
}
}
]
Process DRY-RUN completed!
HubSpot Batch Response: DRY-RUN mode successful
All contacts have been created!
Error fetching the data: Keystone HTTP Error 403 (Forbidden): {"error":"Unauthorized","code":"401","message":"key missmatch"}
Error in processing data: Keystone HTTP Error 403 (Forbidden): {"error":"Unauthorized","code":"401","message":"key missmatch"}