Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REST API Exports doen not work (dashboard, dataset etc) #28180

Open
3 tasks done
ziggekatten opened this issue Apr 23, 2024 · 1 comment
Open
3 tasks done

REST API Exports doen not work (dashboard, dataset etc) #28180

ziggekatten opened this issue Apr 23, 2024 · 1 comment

Comments

@ziggekatten
Copy link

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

image

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

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • 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.
@FiiL123
Copy link

FiiL123 commented Sep 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants