Open KicknGuitar opened 7 years ago
I just wanted to note that I'm having this exact issue on the same version of WordPress, CiviCRM, and Mailchimp extension as @KicknGuitar.
I also tried this with a default theme and no plugins enabled. We're running PHP 7 and MySQL 5.7.16 for CiviCRM as well. I'm going to continue testing and see what I can find. Nothing in error logs and the webhook URL seems to function correctly in the browser.
@KicknGuitar @thomasbacon
Could you check 'allow webhook posts' permission is granted to anonymous role?
Thanks Kajan
@Kajakaran, duh, yes, that was the issue for me. Thanks!
Many thanks for replying (and in both places) This did it.
Did I miss the instructions to enable that permission?
Solved - simple
Did I miss the instructions to enable that permission?
No - they didn't exist. I have just edited the readme here: https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp/pull/281
Am having this same problem, but I've set the webhook permissions to all users because setting only to anonymous gets the same 500 error. Is there another permission I should be setting in civicrm to allow the webhook permission to work properly? At Mailchimp I get:
We couldn't verify the URL is working. Please double check and try again. HTTP Code: 500
In Civicrm, the errors I'm getting when I test the API key is:
CiviCRM group "Mailchimp" (Mailchimp list 221a7178cd): Need to create a webhook at Mailchimp.
Following is the account information received from API callback: Account Name: | sudburycyclistsunion |
---|---|
Account Email: | info@sudburycyclistsunion.ca |
Mailchimp WebHook URL requires 'allow webhook posts' permission to be set for any user roles.
Additional information. In the Civicrm smartgroup that I created to sync with Mailchimp, I checked: Ensure list's webhook settings are correct at Mailchimp when saved.
When saving the group, I get the messages:
x Group Saved The Group 'Mailchimp' has been saved.
Created a webhook at Mailchimp
Problems updating or fetching from Mailchimp. Please manually check the configuration. Mailchimp API said: Invalid Resource (The resource submitted could not be validated. For field-specific details, see the 'errors' array.)
Running Wordpress 4.9.1 Civicrm 4.7.27 CiviCRM Mailchimp Extension 2.0.1
Was this ever resolved by anyone? We are experiencing the same issue.
I'm having trouble with creating a Mailchimp webhook and I'm unfamiliar with how to troubleshoot this any further.
The API key and callback info is correct but when attempting to create the webhook Mailchimp says,
In using web-sniffer I get the following result:
The site's webhook URL and details: https://yourshulbythesea.org/tbe/civicrm?page=CiviCRM&q=civicrm/mailchimp/webhook&reset=1&key=kasfBgoASBcb Wordpress 4.7.2 CiviCRM 4.7.16 CiviCRM Mailchimp Extension 2.0
Any idea how to troubleshoot this further?