[source-posthog] API consistently failing with 500 error and timeouts – worked for months, now unusable
- Ngôn ngữ chính
- Python
- Star
- 22.1k
- Fork
- 5.3k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
### Connector Name
source-posthog
### Connector Version
1.1.25
### What step the error happened?
During the sync
### Relevant information
We’re using Airbyte to extract events data from PostHog via their /events/ API endpoint, which worked fine for months. Starting a few weeks ago, the sync began failing with HTTP 500 errors from the PostHog side.
We’ve tested:
• Reducing the time range
• Tuning offsets and limits
• Running the same API calls manually (outside of Airbyte)
Even when manually calling the documented API endpoint, we receive 500 server errors and Cloudflare 524 timeouts from PostHog.
The API call is made as documented here: https://posthog.com/docs/api/events
But the endpoint is now deprecated according to PostHog support (confirmed in recent support thread).
PostHog recommends using Batch Exports instead, but that is not currently supported by the Airbyte connector (AFAIK).
### Relevant log output
```shell
Request URL: https://app.posthog.com/api/projects/REDACTED/events/?offset=810000&limit=10000&after=2025-03-28T15%3A27%3A10.322000%2B00%3A00&before=2025-04-12T15%3A27%3A10.321999%2B0000, Response Code: 500, Response Text:
PostHog
window.POSTHOG_APP_CONTEXT = JSON.parse("");
// Inject the expected location of JS bundle, use to allow the location of
// he bundle to be set at runtime, e.g. for PostHog Cloud we serve the
// frontent JS from a CDN
window.JS_URL = "";
window.JS_CAPTURE_TIME_TO_SEE_DATA = false;
window.JS_KEA_VERBOSE_LOGGING = false;
html, body, iframe {
width: 100%;
height: 100%;
margin: 0;
}
body {
display: flex;
}
iframe {
border: none;
}
</body>
</html>
```
### Contribute
- [ ] Yes, I want to contribute
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.