Link Search Menu Expand Document

Troubleshooting Charts

At some point, your chart may not load. Here is a list of ways to troubleshoot the issue.

You may see a completely blank box where your chart is supposed to be, or you may see something like this:
Example of an error message - 'unable to retrieve data.'

If you see the “Last refresh failed. Retry?” text, the word “Retry” is a web link to the chart. You can look at that web URL to see if there is anything obvious as to why there is a problem - for example, your charts URL does not match the baseUrl for your charts.

If that did not fix the issue, you need to find what the error actually is. To do that, open your web browser’s console.

You will see an error like:
Error loading data for this chart (error code: X). EXPLANATION HERE. See https://dochub.mongodb.org/core/charts-embedding-error-codes for details.

You can see the full list of errors at https://dochub.mongodb.org/core/charts-embedding-error-codes

Some common issues and their fixes are:
1. Error loading data for this chart (error code: 7). User filter is not allowed.
This usually means you did not put in the filter. Check the Embedding menu for the chart and make sure the “date” and “agency” filters are available. If not, make sure to put in ‘date’ and ‘agency’ AND select the green SAVE button: How to select the 'date' filter and save changes.

  1. Error loading data for this chart (error code: 3). Embedding not enabled on this chart.
    This usually means your baseUrl or chart code is incorrect.

  2. Error loading data for this chart (error code: 18). Client ID doesn’t match provider.
    This usually means something’s wrong with your Realm Sync and you should re-add the Authentication Provider starting with step 2 here.

  3. Error loading data for this chart (error code: 2). Chart not found.
    This usually means your baseUrl or chart code is incorrect. We have also seen it instead of error code 7, so make sure the filters are set properly.

If you are still stuck, search or ask in the MongoDB Community Forum posts with the O-FISH tag.



Troubleshooting - Up to main build page