veda-consulting-company / uk.co.vedaconsulting.mailchimp

Other
22 stars 43 forks source link

Webhook Url: 404 Error in MailChimp #178

Closed envirokid closed 8 years ago

envirokid commented 8 years ago

Hello, I have been trying to setup webhooks for Mailchimp and CiviCRM 4.6.10 through Wordpress 4.3.2 following the instructions provided here: https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp

The Mailchimp settings in CiviCRM provides me with this webhook address (I have taken out our actual domain name & key in asking this question): http://www.domain.org/civicrm?page=CiviCRM&q=civicrm/mailchimp/webhook&reset=1&key=testkey123

When I submit this in Google Chrome, it provides me with 'null'. I tried it in Firefox and was provided with a blank page on our website with the tab reading "Nothing found for Civicrm?pa..." When I paste it into the Mailchimp webhook setup, I am provided with "We couldn't verify the URL is working. Please double check and try again. HTTP Code: 404".

I've been combing through other posts here and whatever I find using Google. My "allow webhook posts" permissions for anonymous/public are set properly as well, which seemed to solve some others' problems, but mine continues to show up with these same errors. Someone told me that a 404 probably means the callback URL I input doesn't exist, but it was the one provided.

Any suggestions for how to proceed would be greatly appreciated. Thank you!

veda-consulting commented 8 years ago

We're in the process of testing out a wordpress site at the moment and are seeing the same issue, we'll look into it and come back with a fix.

Veda Consulting t : +44 (0) 20 3239 1156 m : +44 (0) 77 4216 3491 e : parvez@vedaconsulting.co.uk w : www.vedaconsulting.co.uk

On 7 January 2016 at 21:37, envirokid notifications@github.com wrote:

Hello, I have been trying to setup webhooks for Mailchimp and CiviCRM 4610 through Wordpress 432 following the instructions provided here: https://githubcom/veda-consulting/ukcovedaconsultingmailchimp

The Mailchimp settings in CiviCRM provides me with this webhook address (I have taken out our actual domain name & key in asking this question):

http://wwwdomainorg/civicrm?page=CiviCRM&q=civicrm/mailchimp/webhook&reset=1&key=testkey123

When I submit this in Google Chrome, it provides me with 'null' I tried it in Firefox and was provided with a blank page on our website with the tab reading "Nothing found for Civicrm?pa" When I paste it into the Mailchimp webhook setup, I am provided with "We couldn't verify the URL is working Please double check and try again HTTP Code: 404"

I've been combing through other posts here and whatever I find using Google My "allow webhook posts" permissions for anonymous/public are set properly as well, which seemed to solve some others' problems, but mine continues to show up with these same errors Someone told me that a 404 probably means the callback URL I input doesn't exist, but it was the one provided

Any suggestions for how to proceed would be greatly appreciated Thank you!

— Reply to this email directly or view it on GitHub https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp/issues/178 .

envirokid commented 8 years ago

Hello! Just checking in. Any luck with this?

Kajakaran commented 8 years ago

Hi @envirokid

Do you have CiviCRM page on your WordPress site? Follow the link https://github.com/veda-consulting/uk.co.vedaconsulting.mailchimp/blob/master/images/wordpress_civi_default_page.png

envirokid commented 8 years ago

Yes! I saw that it is on private. I changed it to Public and it worked. Is that what I was supposed to do or would you suggest Password Protected (if that works)?

Thank you!

Kajakaran commented 8 years ago

@envirokid

Webhook URL should be accessible by anonymous user which means public URL.

The following link might be helpful regarding public URL on WordPress sites. https://wiki.civicrm.org/confluence/display/CRMDOC/Displaying+Public+Forms+in+WordPress+Frontend+Sites