It means that the object you pass in the request (I guess it is pagedoc
) has a circular reference, something like:
var a = {}; a.b = a;
JSON.stringify
cannot convert structures like this.
N.B.: This would be the case with DOM nodes, which have circular references, even if they are not attached to the DOM tree. Each node has an ownerDocument
which refers to document
in most cases. document
has a reference to the DOM tree at least through document.body
and document.body.ownerDocument
refers back to document
again, which is only one of multiple circular references in the DOM tree.
Related Posts:
- How to use jQuery in chrome extension?
- “SyntaxError: Unexpected token < in JSON at position 0"
- SyntaxError: Unexpected token o in JSON at position 1
- Error OPTIONS net::ERR_CONNECTION_REFUSED
- SyntaxError: Unexpected token o in JSON at position 1
- What is JSONP, and why was it created?
- TypeError: Converting circular structure to JSON in nodejs
- Use a JSON array with objects with javascript
- Array of JSON Objects
- require is not defined? Node.js
- Fetch: POST JSON data
- Cannot open local file – Chrome: Not allowed to load local resource
- Uncaught SyntaxError: Unexpected token u in JSON at position 0
- How to disable JavaScript in Chrome Developer Tools?
- Cannot open local file – Chrome: Not allowed to load local resource
- Unexpected token u in JSON at position 0 (but only sometimes)
- How to read an external local JSON file in JavaScript?
- Getting Error “Form submission canceled because the form is not connected”
- SyntaxError: Unexpected token o in JSON at position 1
- SyntaxError: Unexpected token o in JSON at position 1
- How to read an external local JSON file in JavaScript?
- Getting Error “Form submission canceled because the form is not connected”
- What is the convention in JSON for empty vs. null?
- What is the meaning of == $0 that is shown in inspect element of google chrome for the selected element [duplicate]
- What is the “right” JSON date format?
- Nested JSON objects – do I have to use arrays for everything?
- What is the “right” JSON date format?
- How to compare arrays in JavaScript?
- Failed to load resource: net::ERR_FILE_NOT_FOUND loading json.js
- jQuery AJAX cross domain
- Export html table data to Excel using JavaScript / JQuery is not working properly in chrome browser
- SyntaxError: Unexpected token o in JSON at position 1
- What’s the difference between console.dir and console.log?
- How can I quickly retrieve a value from a MapIterator returned from Object.keys function?
- Uncaught TypeError: Cannot read property ‘props’ of null
- Loading local JSON file
- How to convert JSON object to JavaScript array?
- Disable same origin policy in Chrome
- node.js TypeError: path must be absolute or specify root to res.sendFile [failed to parse JSON]
- Uncaught TypeError: data.push is not a function
- React Js: Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0
- How to convert selected HTML to Json?
- Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH
- Uncaught SyntaxError: Unexpected token :
- How to get JSON from URL in JavaScript?
- How do you put an image file in a json object?
- push object into array
- blocked a frame of origin “null” from accessing a cross-origin frame – chrome
- JSON.parse() not working
- Disable Chrome strict MIME type checking
- react router v^4.0.0 Uncaught TypeError: Cannot read property ‘location’ of undefined
- Refused to execute script, strict MIME type checking is enabled?
- getElementsByAttribute() is not a function
- TypeError: res.json is not a function
- Chrome/jQuery Uncaught RangeError: Maximum call stack size exceeded
- Uncaught Reference Error: stLight is not defined (in Chrome only)
- SyntaxError: Unexpected token C in JSON at position 0 – Ionic 2 Http GET request
- SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
- Add new attribute (element) to JSON object using JavaScript
- SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
- Force div to be topmost element of any and all webpages
- How to display raw JSON data on a HTML page
- Convert array to JSON
- JSON.parse unexpected token s
- JSON.stringify (Javascript) and json.dumps (Python) not equivalent on a list?
- How do I load an HTML page in a div using JavaScript?
- How to filter JSON Data in JavaScript or jQuery?
- Video auto play is not working in Safari and Chrome desktop browser
- “Uncaught TypeError: a.indexOf is not a function” error when opening new foundation project
- How to add a button dynamically using jquery
- Using setTimeout on promise chain
- Resource interpreted as Document but transferred with MIME type application/zip
- Complex JSON nesting of objects and arrays
- Uncaught SyntaxError: Unexpected token with JSON.parse
- How can JavaScript save to a local file?
- How to force JavaScript to deep copy a string?
- Write / add data in JSON file using Node.js
- How do I handle newlines in JSON?
- Finding the max value of an attribute in an array of objects
- Defining a HTML template to append using JQuery
- “NS_ERROR_DOM_BAD_URI: Access to restricted URI denied”
- “Uncaught TypeError: Illegal invocation” in Chrome
- What are the differences between JSON and JSONP?
- Uncaught SyntaxError: Unexpected end of JSON input at JSON.parse (
) - WP Rest API – How to get featured image
- Implementing Isomorphic JavaScript (React JS) in WordPress?
- How to use wp_localize_script in custom page template?
- Dynamically insert values in a WordPress SelectControl Options field
- var is undefined in a Gutenberg block
- 404 Error Contact Form 7 on WordPress
- Base64 & JSON Encode array in PHP, use as HTML data attribute, decode and parse in JavaScript …. with proper Escaping
- AngularJS with route and JSON API
- Pass data from wordpress to javascript in JSON
- Tinymce.js editor in Chrome?
- How to include a JSON file on my page?
- Why WordPress not using JSON_UNESCAPED_UNICODE by default?
- how to use nimble-API and Display data?
- Remove escape characters from JSON string pulled from a database
- I would like to retrive JSON value and display it in wordpress page or widget
- Gutenberg core/file add style support in js/ json