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"=>"458",
 "industry_id"=>"19",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "strategies-for-children-with-central-auditory-processing-disorder-capd/social-engagement-and-the-steps-to-being-social/the-pyramid-approach-to-functional-aba-1f7451b6-f70a-4975-a3f1-2f01b727c0b1/expanded-core-curriculum-for-children-with-multiple-disabilities-and-visual-impairment-97bf76b3-733b-438f-9f39-4bd908f361ed/communication-of-children-with-multiple-disabilities-and-sensory-loss-f1731c55-a9f3-4961-b4a2-8e48bc8bf1aa"}

Response

Headers:

None