Data Explorer json import doesn't seem to work here

AI-generated summary

Data Explorer JSON Import Issue

A user, hendersj, is experiencing issues importing Data Explorer queries in their Discourse instance (version 3.2.0 with Data Explorer plugin version 0.3). Despite attempting to import queries individually, they do not appear in the list after import, with no visual errors or logs indicating failure. Arkshine suggests checking the browser console for errors, but hendersj reports no related errors. JammyDodger identifies a similar issue reported and fixed previously (https://meta.discourse.org/t/discourse-data-explorer-import-no-longer-works/295074/11), suggesting that the fix may not be available yet for the stable branch.

Running in one of my sandbox environments (a dockerized “normal” installation :slight_smile: ) - I exported a couple of data explorer queries so I could restore a more current backup from our production system, and expected to have to re-import the queries as we don’t have the data explorer installed in production.

I attempted to import both queries individually, but it did not show in the list once imported.

Running on version 3.2.0 with the data explorer plugin version 0.3. I don’t see anything in the discourse logs related to the import failing (or succeeding, for that matter).

So, there is no visual error, and even after refreshing the page, you still see nothing. Is that correct?

Can you check the browser console if you see an error when importing? (usually F12)

That is correct - no visual error, the imported query just doesn’t appear.

No errors reported on the browser console that are related to the import, either (I cleared it, tried the import, and nothing showed up on the console).

There was a report of this a few weeks ago, which has now been fixed:

Though if you’re on 3.2 tracking the stable branch you may need to wait for the next release to pick that fix up.

Good to know, thanks. I tried searching, but didn’t include that category it seems, so I missed it. Appreciate it!