airbytehq / airbytehq/airbyte

[source-posthog] API consistently failing with 500 error and timeouts – worked for months, now unusable

Đang mở
#60,293 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
area/connectors community connectors/source/posthog team/extensibility team/use type/bug
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

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.