Unable to login mautic / pabbly

Your software
My Mautic version is: 4.4.8
My PHP version is: 8.0
My Database type and version is: mysqli 5.7.42

Your problem
My problem is:

trying to connect pabbly & mautic
We noted that we are unable to login

These errors are showing in the log:

curl --location ‘https://mautic.xxxxxxxxxxxx.com/api/contacts
–header ‘Authorization: Basic Z2VuZXJhdG9yOjBTdiMyV2FHRU4=’
–header ‘Cookie: mautic_device_id=a3dtjzlh07hftfmheoog626’

{
“errors”: [
{
“message”: “API authorization denied.”,
“code”: 401,
“type”: “access_denied”
}
]
}

Steps I have tried to fix the problem:

  1. I cleared cache.

please assist