This article contains answers to the following questions:
- How do data source refresh intervals work?
- How do I modify the queue for refresh settings?
- How do I find and investigate data source failures?
- How do I find the error log for a data source?
- How do I analyze the error log for a data source?
- How do I troubleshoot data source refresh failures?
About data source refresh intervals
Klipfolio attempts multiple times to connect to a data source before disabling it. The re-check interval is designed to ensure that the maximum amount of time is given to retrieving new data and to enable errors to be cleared.
Refresh attempts use the following intervals:
- After one failure, Klipfolio attempts to refresh again every 5 minutes until success.
- After three failures, Klipfolio attempts to refresh again every 30 minutes until success.
- After five failures, Klipfolio attempts to refresh again every 6 hours until success.
- After 20 failures, the data source is disabled.
Modifying the queue for refresh settings
You can manually place a data source in the queue for refresh or change its refresh interval settings.
To manually queue a data source for refresh:
- Click Data Sources in the left navigation sidebar to open your list of data sources.
If you don’t see the above option, go to the bottom of the left navigation sidebar and click your Account Name > Data Sources instead. - Select the checkbox(es) for the data source(s) you want to manually refresh.
Note: You can only manually queue raw, unmodelled data sources for refresh. For modelled data sources, select the data source from the list, click the link beside Uses Data Source (to access the unmodelled data source it is based on), then click Queue for Refresh on the About this Data Source page. - Click Queue for Refresh.
To change the refresh interval for a data source:
- Click Data Sources in the left navigation sidebar to open your list of data sources.
If you don’t see the above option, go to the bottom of the left navigation sidebar and click your Account Name > Data Sources instead. - From the list of data sources, select the data source you want to modify.
- For a modelled data source, under Connections, at Uses Data Source, click the link to the raw, unmodelled data source. Go to step 4.
- Under Connection, at Last Refresh, click View Refresh Info.
- Under Refresh Information, click Edit and select an alternate refresh interval from the drop-down beside Queue for Refresh.
- Click Save.
Investigating data source failures
If there is a red icon beside Data Sources in the left navigation bar, that means one or more of your data sources are failing. (If you don’t see Data Sources in the navigation bar, go to the bottom of the sidebar and click your Account Name > Data Sources instead.) To access your list of failed data sources, click the red icon.
To view error details or to reconfigure the data source connection, click the red exclamation mark beside the Data Source Name.
If it’s a modelled data source, under Connections, click the link beside Uses Data Source (as any changes need to be made in the raw, unmodelled data source).
In a raw, unmodelled data source, depending on the red warning text, at Refresh Status, click Reconfigure or Re-enable.
Finding data source error logs
If a data source is failing or disabled, you can consult the error log to help diagnose the problem.
To find the error log for a data source:
- Click the red icon beside Data Sources in the left navigation sidebar to open your list of data sources.
If you don’t see the above option, go to the bottom of the left navigation sidebar and click your Account Name > Data Sources instead. - Select the relevant data source.
- For modelled data sources, under Connections, at Uses Data Source, click the link to the raw, unmodelled data source. Go to step 4.
- Under Connection, at Last Refresh, click View Refresh Info to display the Error Log.
See the following section to learn more about how to use the Error Log.
Analyzing the error log
The following information about a data source is available in the error log:
- The last Refresh Date/Time
- The length of time (Duration) to refresh the data
- The current size of the data source
- The result of refreshing the data source. (Click the link for error information.)
- The kind of data source
- Whether the refresh was successful or not (Updated?)
Note: Data in the error log is purged weekly and is current for the last ten minutes.
Troubleshooting data sources that fail to refresh
- Some APIs, like Google Analytics, impose a limit on the number of requests per profile, number of concurrent requests per profile, and the number of tokens per Google user account. For more information on the Google Analytics API, see Limits and Quotas on API requests.
- Some OAuth tokens expire and must be re-authorized on a regular basis. For example, a Facebook OAuth token must be re-authorized every two months. Go here for more information.
- Some APIs impose a limit to the size of file you can upload.
- Some data sources, such as SQL data sources inside your firewall, might require you to add the Klipfolio dashboard IP addresses to your allow list. For more information, see Allow list IP addresses.
- API limits can affect the refresh interval for services. For example, due to the API limits set by Google Analytics and Adobe Analytics, the shortest refresh interval that can be selected for these services in Klipfolio is every 15 minutes.
- A query might be incorrect. For example, a Google Analytics query returns a "Connection Service" error if there is a line break at the end of a query.
- A file name might be incorrect. For example, if a file in Dropbox has been replaced with a file using a different file name.
- To ensure all of our customers experience optimum performance, we apply fair use limits. As such, there’s a maximum number of rows of data that can be ingested when creating and refreshing Klips. Most customers don’t approach these limits but, if you do, the ability to refresh your data may be impacted.