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"=>"18",
 "format"=>
  "periodontal-implant-maintenance-new-horizons-with-guided-biofilm-therapy-basic-b965420e-9574-4f7f-86e7-042859e3f1bc/periodontal-implant-maintenance-new-horizons-with-guided-biofilm-therapy-basic-am/periodontal-implant-maintenance-new-horizons-with-guided-biofilm-therapy-basic-pm/periodontal-implant-maintenance-new-horizons-with-guided-biofilm-therapy-advanced-0b67f9bc-03c9-4d55-89a9-c20dd18c7eeb/how-to-effectively-implement-change-in-the-dental-practice-and-why-auckland-north-shore"}

Response

Headers:

None