Skip to content

Build And Publish Preview Environment #25609

Build And Publish Preview Environment

Build And Publish Preview Environment #25609

GitHub Actions / Test Results failed Dec 19, 2024 in 0s

389 fail, 6 skipped, 27 584 pass in 1h 7m 27s

    24 files  ± 0      24 suites  ±0   1h 7m 27s ⏱️ + 1m 42s
27 979 tests +44  27 584 ✅ +45  6 💤 ±0  389 ❌  - 1 
28 305 runs  +44  27 910 ✅ +45  6 💤 ±0  389 ❌  - 1 

Results for commit f607afd. ± Comparison against earlier commit 05d7b0c.

Annotations

Check warning on line 0 in ./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSS Claims management /claims get Getting a 200 response claim response returns a valid 200 response (modules.claims_api.spec.requests.v1.rswag_claims_spec) failed

Test Results/rspec4.xml [took 0s]
Raw output
Expected response code '500' to match '200' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:68:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:65:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:64:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '200'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:68:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:65:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:64:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:82:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSS Claims management /claims get Getting a 404 response Resource Not Found returns a 404 response (modules.claims_api.spec.requests.v1.rswag_claims_spec) failed

Test Results/rspec4.xml [took 0s]
Raw output
Expected response code '500' to match '404' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:135:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:134:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:133:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '404'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:135:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:134:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:133:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:149:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSS Claims management /claims get Getting a 401 response Unauthorized returns a 401 response (modules.claims_api.spec.requests.v1.rswag_claims_spec) failed

Test Results/rspec4.xml [took 0s]
Raw output
Expected response code '500' to match '401' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:101:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:99:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:98:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '401'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:101:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:99:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:98:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:115:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSS Claims management /claims/{id} get Getting a 200 response claims response returns a valid 200 response (modules.claims_api.spec.requests.v1.rswag_claims_spec) failed

Test Results/rspec4.xml [took 0s]
Raw output
Expected response code '500' to match '200' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:205:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:204:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:203:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '200'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:205:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:204:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:203:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:219:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSS Claims management /claims/{id} get Getting a 404 response Record Not Found returns a 404 response (modules.claims_api.spec.requests.v1.rswag_claims_spec) failed

Test Results/rspec4.xml [took 0s]
Raw output
Expected response code '500' to match '404' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:272:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:271:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '404'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:272:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:271:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:285:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSS Claims management /claims/{id} get Getting a 401 response Unauthorized returns a 401 response (modules.claims_api.spec.requests.v1.rswag_claims_spec) failed

Test Results/rspec4.xml [took 0s]
Raw output
Expected response code '500' to match '401' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:239:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:237:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:236:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '401'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:239:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:237:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:236:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:253:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

EVSS Claims management /claims/{id} get Getting a 422 response Unprocessable Entity returns a 422 response (modules.claims_api.spec.requests.v1.rswag_claims_spec) failed

Test Results/rspec4.xml [took 0s]
Raw output
Expected response code '500' to match '422' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:310:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:309:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:308:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '422'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The schema action could not be found for the :authenticate\ncallback on ClaimsApi::V1::ClaimsController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:310:in `block (8 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:309:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:11:in `block (2 levels) in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:5:in `block in mock_acg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:4:in `mock_acg'","/app/modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:308:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v1/rswag_claims_spec.rb:324:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/power-of-attorney-request post Getting a successful response Valid request response returns a valid 201 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '201' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::RequestController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1066:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1065:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '201'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::RequestController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1066:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1065:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1079:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/power-of-attorney-request post Getting a 404 response Resource not found returns a 404 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '404' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::RequestController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1153:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1152:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '404'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::RequestController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1153:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1152:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1166:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/power-of-attorney-request post Getting a 422 response Unprocessable Entity returns a 422 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '422' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::RequestController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1122:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1121:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '422'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::RequestController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1122:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1121:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1135:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/power-of-attorney/{id} get Getting a successful response Valid request response returns a valid 200 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '200' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:950:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:949:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '200'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:950:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:949:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:963:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/power-of-attorney/{id} get Getting a 404 response Resource not found returns a 404 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '404' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1001:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1000:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '404'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1001:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1000:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:1014:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122 post Getting a 404 response Resource not found returns a 404 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '404' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::OrganizationController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:564:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:563:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '404'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::OrganizationController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:564:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:563:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:577:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122 post Getting a successful response Valid request response returns a valid 202 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '202' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::OrganizationController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:471:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:470:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '202'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::OrganizationController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:471:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:470:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:488:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122 post Getting a 422 response Unprocessable Entity returns a 422 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '422' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::OrganizationController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:533:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:530:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '422'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::OrganizationController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:533:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:530:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:546:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/power-of-attorney get Getting a 404 response Resource not found returns a 404 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '404' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:131:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:130:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '404'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:131:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:130:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:144:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/power-of-attorney get Getting a successful response Successful response with a current Power of Attorney returns a valid 200 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '200' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:72:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:71:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '200'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:72:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:71:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:85:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/power-of-attorney get Getting a 422 response Unprocessable Entity returns a 422 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '422' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:169:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:168:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '422'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::BaseController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:19:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `get'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:169:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:168:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:182:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122a post Getting a successful response Valid request response returns a valid 202 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '202' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:273:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:272:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '202'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:273:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:272:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:286:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122a post Getting a 422 response Unprocessable Entity returns a 422 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '422' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:339:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:338:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '422'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:339:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:338:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:352:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122a post Getting a 404 response Resource not found returns a 404 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '404' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:372:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:371:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '404'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:372:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:371:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:385:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122a/validate post Getting a successful response Valid request response returns a valid 200 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '200' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:635:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:634:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '200'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:635:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:634:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:648:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122a/validate post Getting a 422 response Unprocessable Entity returns a 422 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '422' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:701:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:700:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '422'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:701:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:700:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:714:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122a/validate post Getting a 404 response Resource not found returns a 404 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '404' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:734:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:733:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '404'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::IndividualController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:734:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:733:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:747:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'

Check warning on line 0 in ./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

PowerOfAttorney /veterans/{veteranId}/2122/validate post Getting a successful response Valid request response returns a valid 200 response (modules.claims_api.spec.requests.v2.veterans.rswag_power_of_attorney_spec) failed

Test Results/rspec16.xml [took 0s]
Raw output
Expected response code '500' to match '200' Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::OrganizationController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:800:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:799:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
\e[1mFailure/Error: \e[0massert_response_matches_metadata(example.metadata)

Rswag::Specs::UnexpectedResponse:
  Expected response code '500' to match '200'
  Response body: {"errors":[{"title":"Internal server error","detail":"Internal server error","code":"500","status":"500","meta":{"exception":"The generate_pdf action could not be found for the #<Proc:0x00007f9f09fd8c20 /app/modules/claims_api/app/controllers/claims_api/v2/application_controller.rb:26>\ncallback on ClaimsApi::V2::Veterans::PowerOfAttorney::OrganizationController, but it is listed in the controller's\n:except option.\n\nRaising for missing callback actions is a new default in Rails 7.1, if you'd\nlike to turn this off you can delete the option from the environment configurations\nor set `config.action_controller.raise_on_missing_callback_actions` to `false`.\n","backtrace":["/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:62:in `match?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:390:in `block in inverted_lambda'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `all?'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:177:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `block in invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:558:in `invoke_before'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:108:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/callbacks.rb:260:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/rescue.rb:27:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:76:in `block in process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `block in instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications/instrumenter.rb:58:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/notifications.rb:210:in `instrument'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/instrumentation.rb:75:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/activerecord-8.0.1/lib/active_record/railties/controller_runtime.rb:39:in `process_action'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/abstract_controller/base.rb:163:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:252:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_controller/metal.rb:335:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:50:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine/lazy_route_set.rb:68:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `public_send'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/railtie.rb:226:in `method_missing'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:33:in `block in <class:Constraints>'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/mapper.rb:62:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:53:in `block in serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:133:in `block in find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:126:in `find_routes'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/journey/router.rb:34:in `serve'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/routing/route_set.rb:908:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:103:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `catch'","/usr/local/bundle/cache/ruby/3.3.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:266:in `context'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/session/abstract/id.rb:260:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/cookies.rb:706:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-attack-6.7.0/lib/rack/attack.rb:127:in `call'","/app/lib/statsd_middleware.rb:13:in `call'","/app/lib/source_app_middleware.rb:167:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/olive_branch-4.0.1/lib/olive_branch/middleware.rb:64:in `call'","/app/lib/olive_branch_patch.rb:9:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/etag.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/conditional_get.rb:40:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/head.rb:12:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:31:in `block in call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/callbacks.rb:100:in `run_callbacks'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/callbacks.rb:30:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/debug_exceptions.rb:31:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/show_exceptions.rb:32:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:45:in `call_app'","/usr/local/bundle/cache/ruby/3.3.0/gems/rails_semantic_logger-4.17.0/lib/rails_semantic_logger/rack/logger.rb:28:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/remote_ip.rb:96:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/request_store-1.7.0/lib/request_store/middleware.rb:19:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/request_id.rb:34:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/runtime.rb:22:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/activesupport-8.0.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/executor.rb:16:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/middleware/static.rb:27:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-2.2.10/lib/rack/sendfile.rb:110:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-cors-2.0.2/lib/rack/cors.rb:102:in `call'","/app/lib/http_method_not_allowed.rb:13:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/utf8-cleaner-1.0.0/lib/utf8-cleaner/middleware.rb:21:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/railties-8.0.1/lib/rails/engine.rb:535:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:360:in `process_request'","/usr/local/bundle/cache/ruby/3.3.0/gems/rack-test-2.1.0/lib/rack/test.rb:153:in `request'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:297:in `process'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:25:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/actionpack-8.0.1/lib/action_dispatch/testing/integration.rb:388:in `post'","/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:20:in `submit_request'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:800:in `block (7 levels) in <top (required)>'","/app/modules/claims_api/spec/support/auth_helper.rb:19:in `block in mock_ccg'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr/util/variable_args_block_caller.rb:9:in `call_block'","/usr/local/bundle/cache/ruby/3.3.0/gems/vcr-6.3.1/lib/vcr.rb:194:in `use_cassette'","/app/modules/claims_api/spec/support/auth_helper.rb:17:in `mock_ccg'","/app/modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:799:in `block (6 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:365:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:529:in `block in run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:528:in `run_owned_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:615:in `block in run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `reverse_each'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:614:in `run_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:484:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:505:in `run_before_example'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:261:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `block in with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `block in with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:626:in `block in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-rails-7.1.0/lib/rspec/rails/adapters.rb:75:in `block (2 levels) in <module:MinitestLifecycleAdapter>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'","<internal:kernel>:187:in `loop'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:457:in `instance_exec'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:390:in `execute_with'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:628:in `block (2 levels) in run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:352:in `call'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:629:in `run_around_example_hooks_for'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/hooks.rb:486:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:468:in `with_around_example_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:511:in `with_around_and_singleton_context_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example.rb:259:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:646:in `block in run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:642:in `run_examples'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:607:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `block in run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/example_group.rb:608:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (3 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `map'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:121:in `block (2 levels) in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/configuration.rb:2097:in `with_suite_hooks'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:116:in `block in run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/reporter.rb:74:in `report'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:115:in `run_specs'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:89:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:71:in `run'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/lib/rspec/core/runner.rb:45:in `invoke'","/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-core-3.13.2/exe/rspec:4:in `<top (required)>'","bin/rspec:5:in `load'","bin/rspec:5:in `<main>'"]}}]}
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:28:in `validate_code!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/response_validator.rb:18:in `validate!'
/usr/local/bundle/cache/ruby/3.3.0/gems/rswag-specs-2.16.0/lib/rswag/specs/example_helpers.rb:30:in `assert_response_matches_metadata'
./modules/claims_api/spec/requests/v2/veterans/rswag_power_of_attorney_spec.rb:813:in `block (6 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/webmock-3.24.0/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/cache/ruby/3.3.0/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'