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"=>"14",
 "page"=>"2",
 "sector_id"=>"1",
 "format"=>
  "level-1-sydney-february-2022-b236bd42-c531-4fe9-9d96-3d0dcb553f77/essentials-level-1-sydney-february-2022-007f8062-ec92-4680-a3f7-67c9972a75de/kinetic-link-training-level-1-functional-strength-conditioning-melbourne-179b003f-18e8-4e1d-b0df-2d9ec324bb8f/kinetic-link-training-level-1-functional-strength-conditioning-sydney-23ad0e7a-77da-4862-8681-4e7315593147/certificate-in-autism-25cdb853-ae2e-4d8e-aba4-ba8d7381fc24"}

Response

Headers:

None