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"=>"109",
 "industry_id"=>"8",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "certificate-in-dyspraxia-defining-assessing-and-intervening-for-change-fcfc4d3f-e61f-45f2-84e7-ea67171760b0/sensory-processing-disorders-for-speech-language-therapists-808edda5-4467-4893-b043-fe2ab63a4b2a/brain-gym-fun-motivation-for-learning-75d5c7d4-3394-4683-b9da-5a0851df0cdf/social-skills-day-1-assessing-and-developing-social-skills-fb9be21c-2ef6-49b3-ab0a-3161765ba105/functions-of-the-mouth-and-its-role-in-development-e425a785-ac0e-42ec-a441-4759847bdf70"}

Response

Headers:

None