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"=>"164",
 "industry_id"=>"11",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "addiction-the-mind-s-answer-to-trauma/help-your-children-adolescents-develop-self-regulation-skills-f89c0c53-b783-4d35-88f6-d8ec513b3729/certificate-in-autism-064a2bfb-8de3-4828-8024-44319427481f/intervening-with-the-student-who-has-aggressive-or-explosive-behaviours-1b303a7f-37ee-41d1-8f68-27e9a70f17c2/teaching-students-with-attention-deficit-hyperactivity-disorder-and-other-developmental-disabilities-77062c2c-3b08-4107-bcde-a540bbd39cc8"}

Response

Headers:

None