Why are delivery error rates different between API and UI?
Summary
What email marketers say12Marketer opinions
Email marketer from StackExchange notes that API endpoints may have different levels of data granularity compared to the UI. The UI might aggregate data to simplify presentation, which could mask specific errors visible in the API.
Email marketer from Quora shares that UI delivery metrics may be calculated using a different timeframe than API data. The UI might show a daily summary, while the API could report hourly or even more granular data.
Email marketer from EmailGeeks Slack Community states that differences can stem from how the data is collected, particularly regarding retries. The API may count a 'failed' delivery which is later successful on a retry, where the UI presents the final delivery status.
Email marketer from Email Analytics Forum replies that differences can come from different timezone calculations. The API might report data based on UTC, while the UI uses the user's local timezone, which can impact daily metrics.
Marketer from Email Geeks advises ignoring GPT breakdowns of delivery errors due to frequent inaccuracies. Suggests ruling out scaling discrepancies in the API code and approximating GPT graphs from the API data to identify interpretation issues.
Marketer from Email Geeks suggests verifying the details of the delivery error rate to see if they align and highlights the oddity of a 40% overall delivery error rate with 0.0% detail points, noting Google may redact data.
Marketer from Email Geeks suggests checking the API raw response for calculation errors and notes discrepancies have been observed before.
Email marketer from Email Marketing Forum responds that UI dashboards often use cached data for faster loading times, while the API provides real-time, uncached data. This caching can cause discrepancies.
Marketer from Email Geeks shares that they frequently see different delivery error rate numbers in the line chart versus the detail when you click on a date in the line chart.
Email marketer from Reddit suggests that the API might be pulling data directly from the source, while the UI applies certain filters or calculations before displaying the results, leading to different error rates.
Email marketer from MarketingProfs Forum responds that some platforms filter out bot traffic or invalid email addresses in the UI, but not in the raw API data. This filtering can create discrepancies in delivery and error rates.
Email marketer from Email Vendor Expert blogs that API and UI inconsistencies can be due to how different metrics are defined, especially bounces. 'Hard' vs. 'soft' bounces may be treated differently in calculations between the API and UI.
What the experts say2Expert opinions
Expert from Spam Resource explains that different definitions and tracking methodologies between the API and UI can lead to inconsistencies. The API might report raw data, while the UI applies filters or classifications that alter the error rates.
Expert from Word to the Wise, Laura Atkins, responds that API and UI discrepancies can arise from different processing times and data aggregation methods. The UI might reflect processed and summarized data, whereas the API may provide unprocessed, real-time data.
What the documentation says5Technical articles
Documentation from Postmark details that UI reporting could be subject to data sampling or estimation for performance reasons, whilst API data represents full records. Sampling can cause minor differences in delivery error rates.
Documentation from Mailgun explains that differences can arise due to the API providing real-time data while the UI might display aggregated or slightly delayed data. Processing variations and caching mechanisms can also contribute.
Documentation from Amazon SES explains that API results provide near real-time data reflecting immediate activity, whereas the console (UI) might reflect batch processed data with delays. Differences in data aggregation methods can also contribute to varying rates.
Documentation from SendGrid answers that discrepancies can occur because of different processing pipelines for API and UI data. The UI often presents summarized data, whereas the API provides more granular, real-time information which can lead to variances when aggregated manually.
Documentation from SparkPost indicates that UI dashboards and APIs might have different levels of detail and aggregation. For example, the UI might not display temporary errors that are visible via the API, leading to discrepancies in reported rates.