This article contains answers to the following questions:
- How do data source refresh intervals work and where do I find the Error Log for a data source?
- How do I analyze the Error Log for a data source?
- How to I interpret the error codes?
- How do I troubleshoot data source refresh failures?
Klipfolio attempts multiple times to connect to a data source before disabling it. The recheck interval is designed to ensure that the maximum amount of time is given to retrieving any new data and to allow any 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.
If a data source is disabled, you can consult the Error Log to help diagnose the problem.
To view and edit refresh information and to find the Error Log for a data source:
- Click Data Sources in the left navigation bar.
- Select the relevant data source file.
- Under General > Connection, click View Refresh Info. The Refresh Information and the Error Log display.
- If you want to manually put the data source into the queue for refresh, click Queue for Refresh.
- If you want to change the refresh interval, under Refresh Information, click Edit and select an alternate refresh interval from the drop-down beside Queue for Refresh.
- Under Error Log, you'll find lots of helpful information. See the following section on analyzing 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 to check for any generated error message.)
- 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.
Use the following error codes to help troubleshoot data source connection issues:
|400: Bad Request||The resource can no longer be found.|
|403: Forbidden||Logon credentials are incorrect.|
|500: Internal Error||The query request failed to resolve.|
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.
- Some APIs impose a limit to the size of file you can upload. For example, most Box users are restricted to a maximum file size of 250 MB.
- Some data sources, such as SQL data sources inside your firewall, might require you to white-list our Klipfolio dashboard IP addresses. For more information on our IP addresses, see Whitelist IP Addresses
- 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.