Error with importing visual artifacts when SQL based dataset is used

I have an app with multiple datasets and visuals. One dataset is based on SQL query. I have exported all the artifacts for that app.

When I am trying to import that json in a different environment, it is giving an error as below:

I noticed that “tablename” attribute for SQL based dataset is set as “text.sql” in the exported json file.

Please let me know if any other information is needed.

@soumyaawasthi I would suggest unchecking the table reference check in the import options. See if that helps.