ActionController::UnknownFormat in LoggedIn::SearchController#load_more

ActionController::UnknownFormat

Extracted source (around line #72):
70
71
72
73
74
75
              
def respond_code_errors(error, code, template)
respond_to do |format|
format.html { render template, status: code, layout: 'application' }
format.json { render json: { message: error }, status: code }
format.js { render json: { message: error }, status: code }

Rails.root: /app

Application Trace | Framework Trace | Full Trace

Exception Causes

ActionController::InvalidCrossOriginRequest: Security warning: an embedded <script> tag on another site requested protected JavaScript. If you know what you're doing, go ahead and disable forgery protection on this action to permit cross-origin JavaScript embedding.

Request

Parameters:

{"industry_id"=>"17",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "level-1-sydney-february-2022-ccadcc42-a6fe-4f51-9503-179c5f056e5b/professional-certificate-of-skin-cancer-medicine-adelaide-2eb9505f-f72e-4cf8-b641-58e35bc72601/advanced-certificate-of-skin-cancer-medicine-adelaide-4abcef30-bd8d-4568-b98f-cc95af910ddd/professional-certificate-of-skin-cancer-surgery-adelaide-21479dcf-ed48-4b96-9ef7-82838c317f21/essentials-level-1-sydney-february-2022-11180afc-59c4-4ede-9ca1-5bda078c1a73"}

Response

Headers:

None