Your software
My Mautic version is: 2.15.1
My PHP version is: 7.2.24
Your problem
I am creating a new Mautic integration with Zapier developer platform to create an email. The goal is RSS/WordPress feed to create a Mautic segment email for each new post. Will make it much easier for my mailing list. However, I cannot get the Oauth2 to work. I’ve filled in all the correct parameters and it’s calling:
To be clear, the I copied the URL directly and obfuscated it. The client ID, secret key, state, etc. are all being filled in correctly by Zapier, matching the Oauth2 credential I created in the app. Instead of being redirected to log in, I am getting:
{"errors":[{"message":"API authorization denied.","code":401,"type":"access_denied"}],"error":"access_denied","error_description":"API authorization denied. (
errorand
error_descriptionare deprecated as of 2.6.0 and will be removed in 3.0. Use the
errors array instead.)"}
So it’s the right endpoint, but something must be off.
There are no errors in the log.
Steps I have tried to fix the problem:
I tried enabling and disabling the option for HTTP BASIC auth to no effect. Originally I didn’t have the URL correct (needed /mautic/api appended for my installation), but when I got it right it switched from the 404 page to the above error.
Obviously others have figured out Zapier integration for creating leads, so I’d be grateful if I could get a pointer to fix this. Maybe Oauth2 doesn’t work with Zapier and I’m forced to use BASIC?