-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Unable to retrieve Datasets from SST Api #28592
Comments
To address the issue of fetching datasets from the Superset API and receiving an empty result list despite a successful status code, consider the following potential causes and solutions:
If after checking these areas the issue persists, providing more details about the API call (endpoint, HTTP method, query parameters) and the configuration of the datasets you're attempting to fetch would be helpful for further diagnosis.
|
This isue happens even on fresh superset installation, even when there are no previously set access permissions or filters applied. I create the dataset/database using the same users I access the db with. |
Considering the issue persists even on a fresh Superset installation without explicit filters or permissions set, it's important to delve deeper into potential causes:
If after these steps the issue remains unresolved, providing detailed information about your API requests (including headers and body) and any specific log entries from Superset related to this issue would be crucial for further diagnosis.
|
Everything works fine I get a 200 OK statu code on fetch and even when creating I don't encounter any errors the issue is only on fetching. It's weird that I'm experiencing this issue and yet the admin role has all get api permissions |
To tackle the issue of receiving an empty result list when fetching datasets from the Superset API, despite a successful HTTP 200 OK status, let's focus on specific areas for troubleshooting:
By focusing on these specific areas, you should be able to diagnose and resolve the issue of fetching datasets. If the problem persists, providing more details about your API requests and any specific log entries related to this issue would be helpful for further assistance.
|
I don't incluse any query params when fetching, I am using superset 4.0.1. Here are my logs
|
Did you find any error? |
The logs you've shared don't show any explicit errors related to fetching datasets, which suggests the issue might not be due to an error in the request itself but could be influenced by other factors. Here are some focused areas to investigate:
Since the issue persists without clear errors and under Admin permissions, it points towards a more subtle configuration or permissions issue rather than a straightforward bug.
|
Bug description
I recently created some datasets on superset using superset api using dataset endpoints, The datasets were created successfully but once I fetched them I got an empty result list. I fetch using the same user that created the dataset and the user has an Admin role.
How to reproduce the bug
Screenshots/recordings
No response
Superset version
4.0.1
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: