GitHub user EuphoriaCelestial created a discussion: Unable to get dashboard
info when using API
### Bug description
The bug is I can not get any information on dashboards using API, I tried to
use endpoint `/api/v1/dashboard `to get list of all dashboard, and
`/api/v1/dashboard/{id}` to get detail of a dashboard
I logged in using Superset admin credential, I also double check ab_user_role
table to make sure it has Admin role, I used the access_token in authorization
header in every request after login
The list all dashboard returned:
```
"count": 0,
"description_columns": {},
"ids": [],
```
meanwhile, there are over 200 dashboards in database. The UI still be able to
show all of them, but API return 0
The `/api/v1/dashboard/{id}` endpoint return 404, as the dashboard I am
requesting does not exist
### Screenshots/recordings
_No response_
### Superset version
master / latest-dev
### Python version
3.9
### Node version
16
### Browser
Chrome
### Additional context
_No response_
### 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.
GitHub link: https://github.com/apache/superset/discussions/35802
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]