Mautic Community Forums

Laravel and AWS API problem

Your software
My Mautic version is: 3.3.4
My PHP version is: 7.4
My Database type and version is:

Your problem
I am trying to save the contacts that are registered from my application, I have everything enabled in the Mautic instance, that is, the credentials, as well as the application (token) registered.

However, I can’t get the contact details to be saved.

It should be noted that the application is developed with react for the frontend and laravel for the backend, which communicates through an API.

Mi configuracion .env
Captura de pantalla 2021-09-09 184956

Mi configuracion Mautic Api Credencial
confgmautic

These errors are showing in the log:
190.73.235.7 - - [10/Sep/2021:18:15:54 +0000] “POST /api/contacts/new HTTP/1.1” 404 106
Steps I have tried to fix the problem:
I am working with the GitHub - CostaMateus/laravel-mautic-api: Free and Open Source Marketing Automation API package which has been tested on other servers and works without problems. I have also tried to do it for the basic authorization opting for the same result.

Thank you very much in advance, I stay tuned.

Enable api + clear cache.
Just enabling the api is not enough.