bugsnag / bugsnag-api-ruby

BugSnag API toolkit for Ruby
Other
21 stars 15 forks source link

Bugsnag::Api.organization fails on organization-id #46

Closed johnstotler closed 6 months ago

johnstotler commented 10 months ago

Describe the bug

Getting organizations appears to be broken when following the readme

Steps to reproduce

  1. Authenticate
  2. Run org = Bugsnag::Api.organization("organization-id")
  3. Scroll down to '....'

Environment

require 'bugsnag/api'

Bugsnag::Api.configure do |config|
  config.auth_token = "<token>"
end

org = Bugsnag::Api.organization("organization-id")
Error messages: ``` parse_query_and_convenience_headers': undefined method `fetch' for "organization-id":String (NoMethodError) ```
clr182 commented 10 months ago

Hi @johnstotler

Can you confirm that you are using the correct auth_token value? please verify you are using the authentication token found at 'Dashboard > Settings > My account > Personal auth tokens' and not a project API key.

It may also be worth generating a new token and using that token in your config.auth_token.

mclack commented 6 months ago

Hi @johnstotler

As there hasn't been any activity here for a while, we are now closing this issue.

If you continue experiencing problems, then please feel free to reopen this issue and share any additional relevant information. Or you can open a ticket with us directly by contacting support@bugsnag.com.