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"=>"466",
 "industry_id"=>"26",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "addiction-the-mind-s-answer-to-trauma-4d84904f-898b-44c7-8bc2-44d42a333626/in-an-unspoken-voice-how-the-body-releases-trauma-and-restores-goodness-mind-brain-and-body-in-the-transformation-of-trauma-29b71030-0bd6-4809-ae06-a0eae2cddc8f/treating-self-injury-and-sexual-compulsivity-from-an-attachment-trauma-perspective-0d93ef40-0e57-44e8-8f0f-b200c20ff5e6/the-battle-within-navigating-the-locus-of-control-shift-ambivalent-attachment-to-the-perpetrator-and-karpman-s-triangle-baaddb4b-675f-4f81-b2b9-8846cea25c29/self-destructive-and-suicidal-behaviour-as-a-traumatic-attachment-disorder-970c2767-1361-4949-b134-7423311d72ed"}

Response

Headers:

None