posthog
posthog copied to clipboard
Segment integration reports 401 Unauthorized as successfully delivered
Bug description
When segment integration is misconfigured, our capture endpoint returns 401 errors. These are misreported in segment as "Delivered".
How to reproduce
- Sign up to segment
- Add posthog destination with invalid API key
- Send some events
- See delivery stats show everything as successful, but no events arrive into posthog
Environment
- [ ] PostHog Cloud
- [x] self-hosted PostHog, version/commit: 1.40.0
Additional context
cc @timgl and @benjackwhite who recently looked at segment integrations
Thank you for your bug report – we love squashing them!
This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.
This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.