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"=>"17",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "kinetic-link-training-level-1-strengthening-functional-movement-perth-8b3ea686-b9a7-4a76-900e-4275117d7b73/essentials-level-1-adelaide-oct-2022-1ef5b621-523a-4505-8996-7c04e3b73625/level-1-kuala-lumpur-oct-2022-bc435dbf-214f-457e-9f35-f860a0ba1310/level-1-sydney-november-2022-722d158e-3b44-499f-8c94-44a4a2ac7553/ergonomics-wellness-in-dentistry-overcoming-and-preventing-occupational-chronic-pain-stress-in-the-clinic-melbourne-9d56d314-4da4-4e62-adae-a3f84acedd69"}

Response

Headers:

None