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"=>"8",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "strategies-to-reduce-being-bullied-and-teased-asd-level-1-2/sensory-processing-disorders-for-speech-language-therapists/functions-of-the-mouth-and-its-role-in-development/essential-elements-to-run-an-efficient-medical-practice-5f431f59-840b-4665-aa32-b7f0dc1f2921/how-google-reviews-affect-your-practice-reputation-7ee0b98c-d54b-48a8-9fdc-fa1f83dcd5ca"}

Response

Headers:

None