nginx, mariadb etc.
My Mautic version is: 7.0.0
My PHP version is: 8.3.30
My Database type and version is: 11.3.2-MariaDB-1:11.3.2+maria~deb11
Your problem
My issue is: I can clearly authenticate against the Mautic API (Feedback:
{“access_token”:“xxx”,“expires_in”:3600,“token_type”:“bearer”,“scope”:null}root@sys:/var/www/mautic/web#
But then, when running:
curl -H “Authorization: Bearer xxx” https://mautic/api/contacts
{“errors”:[{“message”:“It seems we have encountered an error (Error #500). Please report this to the administrator if it happens again.”,“code”:500,“type”:null}]}admin@sys:/var/www/mautic/web# {“errors”:[{“message”:“It seems we have encountered an error (Error #500). Please report this to the administrator if it happens again.”,“code”:500,“type”:null}]}root{“access_token”:“xxx”,“expires_in”:3600,“token_type”:“bearer”,“scope”:null}root@h1:/var/www/mautic/web
These errors appear in the log: so far, I don’t know where I should look. The error log only shows something about MaxMind ![]()
Steps I have tried to fix the problem:
Checked access, verified tokens, tried other validation methods (curl), etc.—nothing worked.
I think I’m missing something, but the API is enabled (otherwise authentication wouldn’t work)—and what else?
Thanks in advance, I’m pretty new to APIs.