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"=>"1",
 "page"=>"2",
 "providers"=>"42",
 "format"=>
  "hr-systems-training-bundle/hr-systems-induction-and-onboarding/hr-systems-reviews-and-performance/recall-systems-recall-systems-7f6d3173-f96d-494d-8027-2e818810f2db/recall-systems-maximising-a-hygiene-oht-department-cc06daf4-edaa-4ef5-a890-5c06b8a77a00"}

Response

Headers:

None