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

Discordrb::Errors::NoPermission: The bot doesn't have the required permission to do this! #8261

Open
komagata opened this issue Dec 27, 2024 · 0 comments
Labels

Comments

@komagata
Copy link
Member

View details in Rollbar: https://app.rollbar.com/a/komagata/fix/item/Bootcamp/1767


RestClient::Forbidden: 403 Forbidden
  File "/usr/local/bundle/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb", line 249, in exception_with_response
  File "/usr/local/bundle/gems/rest-client-2.1.0/lib/restclient/abstract_response.rb", line 129, in return!
  File "/usr/local/bundle/gems/rest-client-2.1.0/lib/restclient/request.rb", line 836, in process_result
  File "/usr/local/bundle/gems/rest-client-2.1.0/lib/restclient/request.rb", line 743, in block in transmit
  File "/usr/local/lib/ruby/3.1.0/net/http.rb", line 985, in start
  File "/usr/local/bundle/gems/rest-client-2.1.0/lib/restclient/request.rb", line 727, in transmit
  File "/usr/local/bundle/gems/rest-client-2.1.0/lib/restclient/request.rb", line 163, in execute
  File "/usr/local/bundle/gems/rest-client-2.1.0/lib/restclient/request.rb", line 63, in execute
  File "/usr/local/bundle/gems/rest-client-2.1.0/lib/restclient.rb", line 82, in delete
  File "/usr/local/bundle/gems/discordrb-3.5.0/lib/discordrb/api.rb", line 81, in raw_request
  File "/usr/local/bundle/gems/discordrb-3.5.0/lib/discordrb/api.rb", line 112, in request
  File "/usr/local/bundle/gems/discordrb-3.5.0/lib/discordrb/api/channel.rb", line 39, in delete
  File "/app/app/models/discord/server.rb", line 24, in delete_text_channel
  File "/app/app/models/times_channel_destroyer.rb", line 8, in call
  File "/usr/local/bundle/gems/newspaper-0.2.0/lib/newspaper.rb", line 22, in block in publish
  File "/usr/local/bundle/gems/newspaper-0.2.0/lib/newspaper.rb", line 21, in each
  File "/usr/local/bundle/gems/newspaper-0.2.0/lib/newspaper.rb", line 21, in publish
  File "/app/app/controllers/admin/users_controller.rb", line 33, in update
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/basic_implicit_render.rb", line 6, in send_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/abstract_controller/base.rb", line 228, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/rendering.rb", line 30, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/abstract_controller/callbacks.rb", line 42, in block in process_action
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 117, in block in run_callbacks
  File "/usr/local/bundle/gems/react-rails-3.1.1/lib/react/rails/controller_lifecycle.rb", line 33, in use_react_component_helper
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in block in run_callbacks
  File "/usr/local/bundle/gems/active_decorator-1.4.1/lib/active_decorator/view_context.rb", line 37, in block (3 levels) in <module:Filter>
  File "/usr/local/bundle/gems/active_decorator-1.4.1/lib/active_decorator/view_context.rb", line 25, in run_with
  File "/usr/local/bundle/gems/active_decorator-1.4.1/lib/active_decorator/view_context.rb", line 36, in block (2 levels) in <module:Filter>
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in instance_exec
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in block in run_callbacks
  File "/usr/local/bundle/gems/actiontext-6.1.4.7/lib/action_text/rendering.rb", line 20, in with_renderer
  File "/usr/local/bundle/gems/actiontext-6.1.4.7/lib/action_text/engine.rb", line 59, in block (4 levels) in <class:Engine>
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in instance_exec
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 126, in block in run_callbacks
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/callbacks.rb", line 137, in run_callbacks
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/abstract_controller/callbacks.rb", line 41, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/rescue.rb", line 22, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/instrumentation.rb", line 34, in block in process_action
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in block in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications/instrumenter.rb", line 24, in instrument
  File "/usr/local/bundle/gems/activesupport-6.1.4.7/lib/active_support/notifications.rb", line 203, in instrument
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/instrumentation.rb", line 33, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal/params_wrapper.rb", line 249, in process_action
  File "/usr/local/bundle/gems/activerecord-6.1.4.7/lib/active_record/railties/controller_runtime.rb", line 27, in process_action
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/abstract_controller/base.rb", line 165, in process
  File "/usr/local/bundle/gems/actionview-6.1.4.7/lib/action_view/rendering.rb", line 39, in process
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal.rb", line 190, in dispatch
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_controller/metal.rb", line 254, in dispatch
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/routing/route_set.rb", line 50, in dispatch
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/routing/route_set.rb", line 33, in serve
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/journey/router.rb", line 50, in block in serve
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/journey/router.rb", line 32, in each
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/journey/router.rb", line 32, in serve
  File "/usr/local/bundle/gems/actionpack-6.1.4.7/lib/action_dispatch/routing/route_set.rb", line 842, in call
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/strategy.rb", line 202, in call!
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/strategy.rb", line 169, in call
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/strategy.rb", line 202, in call!
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/strategy.rb", line 169, in call
  File "/usr/local/bundle/gems/omniauth-2.1.1/lib/omniauth/builder.rb", line 44, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/tempfile_reaper.rb", line 15, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/etag.rb", line 27, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/conditional_get.rb", line 40, in call
  File "/usr/local/bundle/gems/rack-user_agent-0.5.3/lib/rack/user_agent.rb", line 16, in call
  File "/usr/local/bundle/gems/rack-2.2.8.1/lib/rack/head.rb", 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant