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"=>"445",
 "industry_id"=>"26",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "brain-gym-fun-motivation-for-learning-22d0c356-54a0-4459-a713-9ac8ed9b233b/dir-floortimetm-101-dir-model-developmental-individual-differences-relationship-model-ee93aeb6-94b8-46c0-8e90-17e5d7802396/positive-behaviour-support-in-the-classroom-f149848a-55f5-41f5-b479-acb856ac1b6b/interoception-body-awareness-from-the-inside-out-849c9bef-a79f-40b4-b428-ee4a6fadcd55/how-to-develop-self-esteem-and-friendship-skills-9d5b9826-b58e-423d-9de1-e50dd0aefb01"}

Response

Headers:

None