Bug description

Any API endpoint for exporting data returns the same error:

"message": "Not a valid rison schema {} is not of type 'array'\n\nFailed validating 'type' in schema:\n {'items': {'type': 'integer'}, 'type': 'array'}\n\nOn instance:\n {}

This happens on 3.1.1, 3.1.2 and 4.0.0 using superset official docker container.

How to reproduce the bug

  1. in your browser, goto swagger/v1
  2. Authenticate with tokens
  3. Klick on any GET endpoint example: api/dataset/export
  4. klick try it out
  5. klick execute

Screenshots/recordings

Apache Superset REST API Exports doen not work (dashboard, dataset etc)

Superset version

3.1.2

Python version

3.10

Node version

16

Browser

Chrome

Additional context

Database used is Postgres 16

LDAP used for authentication (Active Directory)

FEATURE_FLAGS = {"TAGGING_SYSTEM": True, "RLS_IN_SQLLAB": True, "DRILL_TO_DETAIL": True, "ALERT_REPORTS": True, "DASHBOARD_CROSS_FILTERS": True, "DASHBOARD_RBAC": True, "THUMBNAILS" : True, "THUMBNAILS_SQLA_LISTENERS": True, "ENABLE_TEMPLATE_PROCESSING": True, "ENABLE_TEMPLATE_REMOVE_FILTERS": True, "ENABLE_SCHEDULED_EMAIL_REPORTS": True, "EMAIL_NOTIFICATIONS": True,"EMBEDDED_SUPERSET": True}

Checklist

  • [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
  • [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
  • [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Comment From: FiiL123

This is not working for us either in 4.0.2. @michael-s-molina; @rusackas can someone please check.

Comment From: rusackas

Maybe @dosu-bot can help, but I haven't a chance to try to reproduce this, and it's been silent for quite a while. I assume this is still an issue?

Comment From: msyavuz

I can confirm it still exists. In web-app we put a token in the query parameters along with the dashboard id's. This is probably an issue with how swagger is setup for these endpoints