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

Airbrakex.notify(exception) return 301 redirect #23

Closed
overallduka opened this issue May 26, 2017 · 1 comment
Closed

Airbrakex.notify(exception) return 301 redirect #23

overallduka opened this issue May 26, 2017 · 1 comment

Comments

@overallduka
Copy link

overallduka commented May 26, 2017

Not looks like the library is working, when i run the example of exception manually i dont receive success status but 301 redirect:

{:ok,
 %HTTPoison.Response{body: "",
  headers: [{"Location",
    "https://airbrake.io/api/v3/projects/126886/notices?key=ed8b5d05367bea21a3576a5ec31abb6b"},
   {"Content-Length", "0"}, {"Connection", "keep-alive"}], status_code: 301}}

And the exception not shows in Airbrake dashboard.

@fazibear
Copy link
Owner

Tried few things, you typed the wrong key. You have to type project_key instead of api_key.

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

2 participants