Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mautic 2 Pipedrive doesn't sync anymore #17

Open
chriskloss-tz opened this issue Feb 20, 2025 · 4 comments
Open

Mautic 2 Pipedrive doesn't sync anymore #17

chriskloss-tz opened this issue Feb 20, 2025 · 4 comments

Comments

@chriskloss-tz
Copy link

chriskloss-tz commented Feb 20, 2025

We are using Mautic 5.2.2. and have noticed that synchronisation has recently stopped.

Apparently the plugin does not save the authentication data.

In addition, this error message appears in the console.

[2025-02-20T13:31:25.237994+00:00] mautic.CRITICAL: Uncaught PHP Exception TypeError: ‘MauticPlugin\PipedriveBundle\Connection\Client::exchangeCodeForToken(): Argument #1 ($code) must be of type string, null given, called in /data/webs/client/docroot/plugins/PipedriveBundle/Integration/Support/AuthSupport. php on line 40‘ at /data/webs/client/docroot/plugins/PipedriveBundle/Connection/Client.php line 168 {’exception‘:’[object] (TypeError(code: 0): MauticPlugin\PipedriveBundle\Connection\Client::exchangeCodeForToken(): Argument #1 ($code) must be of type string, null given, called in /data/webs/data/webs/client//docroot/plugins/PipedriveBundle/Integration/Support/AuthSupport.php on line 40 at /data/webs/client/docroot/plugins/PipedriveBundle/Connection/Client.php:168)"}

Can you help me?

@dsp76
Copy link

dsp76 commented Feb 20, 2025

@npracht and @kuzmany we had an issue with Authentication before - it might be related. We were not able to refresh the auth tokens without completely removing and reinstalling the plugin again, also removing it manually from the database. Could this be the issue here as well?

@kuzmany
Copy link
Collaborator

kuzmany commented Feb 24, 2025

Pipedrive has made some changes to its authorization workflow. By default, they treat it as an app in the Pipedrive Marketplace. To proceed, you need to create one using this guide: https://pipedrive.readme.io/docs/marketplace-registering-a-private-app.
I’ve noticed that some customers take a different approach, which often results in it not working.

How do you create APP (client_id/client_sercret) ?

@kuzmany
Copy link
Collaborator

kuzmany commented Feb 24, 2025

This week, we will review the M5 version of PD and will likely identify some issues.

@chriskloss-tz
Copy link
Author

Hi @kuzmany any news on this topic?

We used the instructions, but due to inaccuracies, we had to try around until it finally worked.
This also worked for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants