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"=>
  "dry-needling-level-one-melbourne-aafc3ccd-e016-4332-ad2f-7d5254825f61/upper-limb-dry-needling-course-melbourne-321f9690-98c9-4f29-a135-723a9af612b4/dry-needling-level-one-hunter-valley-465c57a0-99b3-4c36-a021-6c856c5cabe7/dry-needling-level-one-sydney-2a4d1444-3311-4746-9bdb-faa021c65271/dry-needling-level-1-intro-intermediate-course-4b8855b9-fb79-4ccf-965a-12ea12d1f72a"}

Response

Headers:

None