X rays not working

Hi, I am running 0.29.0 version. The X rays work for the tables in Sample Dataset. But when I try to generate them for my tables in redshift db, they throw an error message - ‘Something’s gone wrong
We’ve run into an error. You can try refreshing the page, or just go back.’ I checked the logs, but did not find anything. How can I debug it?

1 Like

Same here — updated Metabase (on latest version of docker via beanstalk) and cannot get any X-rays to work for any of our questions… Help!

You are very likely hitting an issue where if analysis hasn’t run on a given database before xrays are used, it doesn’t know what to do and returns null, which the frontend interprets as an error. We’ll have a fix for this and lessening the dependence on analysis in 0.29.1.

To verify my hypothesis you can try 2 things:

  1. does /api/automagic-dashboards/table/:id return null?
  2. does /api/table/:id have null for entity_type?

(where :id is the ID of an offending table)

If you’re feeling experimental you can try https://github.com/metabase/metabase/pull/7548

Thanks for letting us know, and sorry for the bad experience.

1 Like