Regarding Mautic api issue

Your software
My Mautic version is: 4.4.9
My PHP version is: 8.0.29
My Database type and version is: 10.6.12-MariaDB-0ubuntu0.22.04.1
I am doing some integration using Mautic api to 3rd party crm and For this I need to use the Mautic Rest api and I have successfully authenticated the api But I am unable to get or post contacts using api. I always keep getting 500 internal server error in api response while trying to execute api request in postman. Could anyone please help us regarding this?

1 Like

Plz clear the cache and check again.

Hi There.
It’s done. Still got the same error.

Hi, what is your call exactly?

Hi @joeyk
I am simply trying to retrieve the contacts from Mautic using the GET Api request. But it doesn’t seems to work.

What is your call exactly?
Also: when you make your call, do you have @ or : in your password?
Are you using Basic Auth?

Yes I am using Basic Auth
Username:Password (base64 encode)

Sorry, what are you encoding?

username and password to login into mautic account like e,g, username=“test”, Password=“test@123”
Just like that I am doing For authentication I use authorization header in postman request Basic dGVzdDp0ZXN0QDEyMw==

The @ in your password is messing up things. Try to change the password without spec chars for testing.
And don’t encode.