Webhook and resource URL clarity
Created by: tgroff
Hello, similar to this issue - JMAConsulting/biz.jmaconsulting.mte/issues/7, but I am using version 1.4 of the extension.
I'm getting the webhook 404 error as well with Drupal & CiviCRM. I am sure I just don't have the path typed correctly, but I'm honestly quite confused on what the resource URL should be, as well as exactly what the callback "Post to URL" Mandrill dashboard is supposed to be:
Error: POST to https://www.fppoa.org/civicrm/ajax/mte/callback?mandrillSecret=123mysecretwhatever12
![fppoa-civicrm-mandrill-wtf](https://cloud.githubusercontent.com/assets/914143/5347329/fe2012d2-7eec-11e4-8c46-f660dcbb0847.png)
failed with 404: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /civicrm/ajax/mte/callback was not found on this server.</p> <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p> </body></html>
I'm sure it's a simple fix if someone can guide me please. I just don't understand if the "Post To URL" is supposed to point to the civicrm
extension directory, or the /civicrm
URL path. The URL is mysite.com/civicrm/
but the path is http://mysite.com/sites/all/modules/civicrm
(or in my case) http://mysite.com/sites/all/modules/civicrm
.
The message is on the page is somewhat confusing to me as well - it says "this should match the CiviCRM extension directoy", so then it shows the full path to the root of the file system. So should it be http://mysite.com/sites/all/modules/civicrm_extensions
? I have tried all of the combinations I can think of, and it either returns a 404 or we can't verify that URL exists
from the Mandrill dashboard, so that's why I have to ask for help at this point.
Thank you, --Tony