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

Pipedrive integration fails #1596

Closed
harsha-sgroup opened this issue Oct 28, 2024 · 9 comments · Fixed by #1656
Closed

Pipedrive integration fails #1596

harsha-sgroup opened this issue Oct 28, 2024 · 9 comments · Fixed by #1656
Assignees
Labels
issue Something isn't working correctly

Comments

@harsha-sgroup
Copy link

What happened?

The Pipedrive integration returns the following error. Currently, only the Map to Lead is enabled, and relevant fields are mapped to Pipedrive.

Errors and Stack Trace (if available)

Pipedrive: {"success":false,"error":"Scope and URL mismatch","errorCode":403,"error_info":"Please check [developers.pipedrive.com](http://developers.pipedrive.com/)"} {"integration":{"id":4,"handle":"pipedrive"}} []

How can we reproduce this?

NA

Freeform Edition

Pro

Freeform Version

5.6.8

Craft Version

4.12.5

When did this issue start?

After upgrading from older Freeform version, After upgrading from older Craft version

Previous Freeform Version

No response

@harsha-sgroup harsha-sgroup added the issue Something isn't working correctly label Oct 28, 2024
@kjmartens
Copy link
Contributor

I'm very sorry for the trouble @harsha-sgroup. I can confirm there might be an issue with the integration. I will have a developer check into it shortly. 🙂

@seandelaney
Copy link
Contributor

@harsha-sgroup

I can successfully replicate your issue when I have "Search for all data" turned off in my access scope list.

Is your Pipedrive app got "Search for all data" enabled in your access scope list?

If not, this needs to be enabled and then click Save.

Remember, with any Pipedrive app or OAuth integration, when you update your access scopes, you need to re-save your integration. In this case, under Freeform > Settings > CRM, select your Pipedrive integration and click Save. This will trigger new access and refresh tokens based on your updated access scope. Then test your integration again by submitting a form.

@harsha-sgroup
Copy link
Author

I'm still facing the same issue. 'Search for all data' is set in my scope list, and the other settings are unchanged.

@seandelaney
Copy link
Contributor

@harsha-sgroup

Can you setup a new integration and test that, incase there is stale data somewhere?

@kjmartens kjmartens reopened this Nov 12, 2024
@harsha-sgroup
Copy link
Author

Did that and tested every possible scenario with Leads, Deals, Organisations and Person mapping. Still it's not saving anything in Pipedrive.

Freeform version: 5.7.2

@seandelaney
Copy link
Contributor

@harsha-sgroup

I feel this is an isolated issue since all our test environments work as expected.

Can you please send me a copy of your database? I'd like to check your field mappings etc. Do a bit more investigating using your database and data.

[email protected]

@seandelaney
Copy link
Contributor

seandelaney commented Nov 21, 2024

@harsha-sgroup

PR submitted changing how fields are fetched for leads. Hopefully get this merged soon.

I noticed these errors while testing your field mappings though.

Integration | error | 21 Nov 2024, 15:10:49 | Pipedrive: {"success":false,"data":null,"additional_data":null,"error":"provided dataset is not valid","error_info":"\"channel\" must be a number"} {"integration":{"id":4,"handle":"pipedrive"}} []
Integration | error | 21 Nov 2024, 15:08:42 | Pipedrive: {"success":false,"data":null,"additional_data":null,"error":"provided dataset is not valid","error_info":"\"title\" is not allowed to be empty"} {"integration":{"id":4,"handle":"pipedrive"}} []

You have both of these fields set to use string type fields, with First Name a hidden field with no default value.

@kjmartens
Copy link
Contributor

Hi @harsha-sgroup,

This will be corrected in Freeform 5.7.3, which will be available later today. 🙂

@harsha-sgroup
Copy link
Author

harsha-sgroup commented Nov 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue Something isn't working correctly
3 participants