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"=>"51",
 "industry_id"=>"5",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "dir-floortimetm-101-dir-model-developmental-individual-differences-relationship-model-3bee9f8b-4b76-4779-91fa-834deb617f7a/positive-behaviour-support-in-the-classroom-2c63f389-2a0c-4b2d-aa9f-ca0b6a2a93bf/certificate-in-the-foundations-of-therapeutic-play-skills-e79eb668-7714-497e-bf02-f9707d2b606c/professional-diploma-of-dermoscopy-31bd0231-ee6f-419b-9051-bf6ffe13e235/advanced-certificate-of-dermoscopy-aaadb589-c7fc-45b5-906a-9c997c96189a"}

Response

Headers:

None