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"=>"490",
 "industry_id"=>"4",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "level-1-melbourne-september-2022-5c426f20-4a2a-4721-a403-a7aa3391bceb/essentials-level-1-adelaide-oct-2022-0bf90a78-95cb-4f00-bf4c-ed6b7ebd9084/level-1-kuala-lumpur-oct-2022-671023ac-12a9-410f-95dc-538153998ae9/level-1-sydney-november-2022-bf940d47-8e7d-4889-9b18-6754d86e65a0/level-1-singapore-713006c0-1039-4cd3-a7e7-fea90c3d77a3"}

Response

Headers:

None