Starting Loandisk to Mailchimp Sync

Attempting to connect to Loandisk URL: https://api-main.loandisk.com/22112/26377/borrower/from/1/count/50


--- DEBUG: Raw Loandisk API Response (from loandisk_api.php) ---
URL: https://api-main.loandisk.com/22112/26377/borrower/from/1/count/50
HTTP Code: 200
Headers:
HTTP/2 200 
date: Fri, 12 Jun 2026 14:57:33 GMT
content-type: application/json
server: nginx
vary: Accept-Encoding
set-cookie: PHPSESSID=graf8glhgdjf491fp5c0q4a3g7; expires=Sat, 13 Jun 2026 14:57:32 GMT; Max-Age=86400; path=/
expires: Thu, 19 Nov 1981 08:52:00 GMT
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
access-control-allow-origin: *
access-control-allow-methods: GET, POST, PUT, DELETE
accept: application/json
accept-charset: utf-8
access-control-allow-credentials: true
access-control-max-age: 3600
content-encoding: gzip

Body:
{
    "error": {
        "type": "client",
        "code": "11",
        "message": "Wrong access credentials"
    },
    "http": {
        "code": 200,
        "message": "OK"
    }
}
--- DEBUG END ---

❌ Loandisk API response structure invalid or no results found on page 1.

Parsed Loandisk Response (Page 1):
Array
(
    [error] => Array
        (
            [type] => client
            [code] => 11
            [message] => Wrong access credentials
        )

    [http] => Array
        (
            [code] => 200
            [message] => OK
        )

)
❌ No borrowers found in Loandisk or API response invalid.