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:

{"category_id"=>"28",
 "industry_id"=>"4",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "positive-behaviour-support-in-the-classroom-0db2ea93-90fd-4528-994e-3da068fef052/complex-trauma-recognising-and-responding-effectively-to-our-clients-ce390dbc-b84f-4458-b08d-dc4574d2de41/domestic-and-family-violence-attachment-and-complexity-ca11af19-7af9-4312-8c5d-b5769372be6d/internal-family-systems-ifs-for-individual-client-work-265212f2-6fb0-47b5-8720-63c7f83faee1/foundation-certificate-of-domestic-abuse-violence-online"}

Response

Headers:

None