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

cant get webhooks #231

Open
mogadanez opened this issue Jan 9, 2019 · 2 comments
Open

cant get webhooks #231

mogadanez opened this issue Jan 9, 2019 · 2 comments

Comments

@mogadanez
Copy link

  1. What version of the module is the issue happening on? Does the issue happen on latest version?
    0.22

  2. What platform and Node.js version? (For example Node.js 6.9.1 on Mac OS X)

Node 10.14.2 on Mac OS X

  1. Does the action work when you manually perform request against mailgun using curl (or other means)?

with curl it works fine

  1. Sample source code or steps to reproduce
mailgun.get(`/domain/${mailgun_domain}/webhooks`, function (error, body) {
                if (error)
                    return reject(error)

                resolve(body);
            });

body is empty(undefined), debug shows that response content type is application/octet-stream with 200 status

@maviola5
Copy link

maviola5 commented Sep 2, 2020

Came across this same problem, looks like the example from here: https://documentation.mailgun.com/en/latest/api-webhooks.html#examples has the endpoint with a singular domain and should be domains which is how it is in the documentation above the example.

@Draccano
Copy link

Why do they don't fix that in the doc?

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