Skip to main content
Question

getting 'Chart not found' error when trying to fetch chart data


Forum|alt.badge.img
  • Novice
  • 3 replies

This is the url to chart I’m trying to fetch:

https://analytics.amplitude.com/wjcompass/chart/t2jmpe9c 

 

This is my request:

curl --request GET \
  --url 'https://amplitude.com/api/3/chart/t2jmpe9c/query?=' \
  --header 'Authorization: Basic REDACTED_TOKEN'

 

This is the response I’m getting:

HTTP 404: Not Found (Chart not found)

 

Project ID: 411142

Project Name: 웅진빅박스

 

What may be the issue? There should be chart data returned, right?

2 replies

Saish Redkar
Expert
Forum|alt.badge.img+10

Hi @DPA 

I would verify couple of points here -

  • Ensure that the chart id in the curl command is accurate and is accessible in the UI. It shouldn't be a deleted chart link.
  • Ensure that your api key + secret key belongs to the same project that your chart lives in

Forum|alt.badge.img
  • Author
  • Novice
  • 3 replies
  • June 22, 2023

I sent the chart url that is working and is not deleted chart. So the chart id should be correct.


Other endpoints are working with those api key and secret key:


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings