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"=>"249",
 "industry_id"=>"11",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "picture-exchange-communication-system-level-2-advanced-ec3f41e0-6d80-4c18-ab52-762642c1c826/the-pyramid-approach-to-functional-aba-98612396-1971-45d7-b9ce-64c20eda5602/certificate-in-the-foundations-of-therapeutic-play-skills-c64ec44f-7e80-41da-a837-c166923e2d51/the-female-profile-of-autism-a-new-protocol-for-assessment-and-strategies-dca9acef-c494-4ec7-98b1-3cf12167b8fb/strategies-to-increase-communication-skills-in-children-with-autism-a44ac2e6-0ac4-40d7-9fa5-4df01ce76d16"}

Response

Headers:

None