Attempting to connect to Loandisk API at base URL: https://api-main.loandisk.com
Fetching borrowers from branch ID: 26378 with public key: 22112
Fetching Loandisk borrowers from page 1...
Endpoint: borrower
AuthCode (RAW): FzWRVBdUP3n5bmaxKNzNNp9nfv8JBEKkArxbyjWG
AuthCode (Base64 Encoded, sent in header): RnpXUlZCZFVQM241Ym1heEtOek5OcDluZnY4SkJFS2tBcnhieWpXRw==
Public Key: 22112
Branch ID: 26378
Constructed URL: https://api-main.loandisk.com/22112/26378/borrower/from/1/count/50
Headers Sent:
Content-Type: application/json Authorization: Basic RnpXUlZCZFVQM241Ym1heEtOek5OcDluZnY4SkJFS2tBcnhieWpXRw==
❌ Loandisk API call failed on page 1: Loandisk API Error: Wrong access credentials
Decoded Loandisk Error Response:
Array
(
[error] => Array
(
[type] => client
[code] => 11
[message] => Wrong access credentials
)
[http] => Array
(
[code] => 200
[message] => OK
)
)
✅ No borrowers found to sync to Mailchimp. Script finished.