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"=>"485",
 "industry_id"=>"19",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "how-to-develop-self-esteem-and-friendship-skills/interoception-body-awareness-from-the-inside-out/picture-exchange-communication-system-level-2-advanced-ee2f3736-dd61-4c9b-9e7e-a84ae92f484c/handling-sensory-issues-in-the-classroom-4e452fe1-d110-4517-b44a-589f04af4712/strategies-for-children-with-central-auditory-processing-disorder-capd"}

Response

Headers:

None