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:

{"country_id"=>"1",
 "industry_id"=>"1",
 "page"=>"2",
 "format"=>
  "asia-pacific-oral-health-congress-2019-understanding-digitalisation-disabilities-in-dentistry/the-10th-advanced-anterior-aesthetics/fundamentals-of-dental-assisting-course/flexible-training-sessions/clear-retainer-fabrication-course"}

Response

Headers:

None