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:

{"industry_id"=>"14",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "treating-ptsd-day-1-2-f0b0936d-23fc-49b6-abac-c791e29921dc/trauma-education-day-1-4-9eba0962-a112-4907-b5dd-da97ab957b49/dir-floortimetm-101-dir-model-developmental-individual-differences-relationship-model-0fa0c90f-ad25-4243-8a55-526fc22d4962/treating-complex-trauma-day-3-4-ecc6cbeb-d3a1-4783-b7c4-815814c72dba/seminar-strategies-to-reduce-being-bullied-and-teased-asd-level-1-2-e6674cff-d277-4479-8bc5-709c4b02ca9e"}

Response

Headers:

None