tables that don’t exist in database and don’t show in reference are still showing in x-rays
Have you purged cache / rescanned the db schema?
If still getting a problem, sounds similar issue to this:
…which to me implies the x-ray code isn’t ignoring tables and fields marked as inactive.
Fixed in https://github.com/metabase/metabase/pull/8303
Thanks for reporting!