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"=>"464",
 "industry_id"=>"26",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "picture-exchange-communication-system-level-2-advanced-da379e39-f49d-4f3d-90d2-7b5449817d79/handling-sensory-issues-in-the-classroom-2990d4a4-1199-4da5-9b4d-7435aa61b5b5/strategies-for-children-with-central-auditory-processing-disorder-capd-7fb43062-acd3-4e1e-84de-d19039904ba3/the-pyramid-approach-to-functional-aba-8465c4c8-1f49-475f-879c-f8ed9f237863/expanded-core-curriculum-for-children-with-multiple-disabilities-and-visual-impairment-13707342-7dc3-4898-aaf3-0d8e71de3f2e"}

Response

Headers:

None