Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JSON.stringify() error: Converting circular structure to JSON after importing embed.js

Christopher Anderson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 2, 2019

 

Something inside the emebd.js (https://jsd-widget.atlassian.com/assets/embed.js) seems to be causing my Javascript code's call fo JSON.stringify() to throw circular reference errors.

When not including the embed.js in my page I'm able to stringify JavaScript objects just fine, but after including it I get this error:
JSON.stringify(form)
14:29:49.581 VM17270:1 Uncaught TypeError: Converting circular structure to JSON

 

Is there some loaded in that JavaScript file that is overwriting portions of the JSON library?




 

1 answer

0 votes
Kishan Sharma
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 19, 2021

Did you happen to resolve this issue or not including the embed.js in the page is the only solution ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events