GitHub user dosubot[bot] added a comment to the discussion: Deck.gl map change 
style directly on dashboard

<!-- Answer -->
The error "not found" for http://localhost:9000/api/v1/chart/0 usually means 
that either the chart with ID 0 does not exist in your Superset instance, or 
the API server is not running or accessible on port 9000.

Here’s how you can troubleshoot:

1. Make sure your Superset server is running and listening on port 9000. If you 
normally access Superset at a different port (like 8088), adjust the URL 
accordingly.
2. Check in the Superset UI (Charts list) to see if a chart with ID 0 exists. 
Most likely, there is no chart with this ID—Superset chart IDs typically start 
from 1.
3. Try accessing /api/v1/chart/ (without the ID) to see if the endpoint itself 
is working and returns a list of charts.
4. If you want to access a specific chart, use the actual chart ID from your 
Superset instance (you can find this in the URL when editing or viewing a chart 
in the UI).

A 404 response is expected if the chart does not exist or you do not have 
permission to access it. The endpoint itself is valid and tested in Superset, 
but it requires a valid chart ID to return data 
[source](https://github.com/apache/superset/blob/master/tests/integration_tests/charts/api_tests.py).


<!-- Dosu Comment Footer -->
*To reply, just mention my name [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/cc79d926-1289-41de-9be0-cd858d147863?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/cc79d926-1289-41de-9be0-cd858d147863?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/cc79d926-1289-41de-9be0-cd858d147863?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/cc79d926-1289-41de-9be0-cd858d147863?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/cc79d926-1289-41de-9be0-cd858d147863?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/cc79d926-1289-41de-9be0-cd858d147863?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/cc79d926-1289-41de-9be0-cd858d147863?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/32149)

GitHub link: 
https://github.com/apache/superset/discussions/32149#discussioncomment-13296242

----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: 
notifications-unsubscr...@superset.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to