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"=>"519",
 "industry_id"=>"11",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "person-centred-active-support-215a3c04-bd50-43f4-b5e3-197ff873408f/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/cognitive-abilities-a-different-way-of-thinking-and-learning-profile-ac4b4f90-377b-42cb-8d59-2b5f61cf345e/goals-lessons-and-outcomes-05886c9e-72a2-49e4-9917-32d1dfeb85e2"}

Response

Headers:

None