You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The request to the /batch route consistently fails with a 400 HTTP status code.
The body of the response is always the plain text string: "failed to parse request: expected value at line 1 column 1".
This fails to be parsed as JSON and no explicit error shows up in the logs.
No events are shown in Activity feed on website.
@gaelphhost should be https://eu.i.posthog.com for EU.
I wonder if it's your network or something, is this on an emulator only or on a real device?
I just tested this on an emulator and everything worked fine.
Double check if Constants.PosthogKey and Constants.PosthogHost are correct?
Version
3.12.7
Steps to Reproduce
/batch
to be sentExpected Result
A successful call with a 200 status code.
Actual Result
The request to the
/batch
route consistently fails with a 400 HTTP status code.The body of the response is always the plain text string: "failed to parse request: expected value at line 1 column 1".
This fails to be parsed as JSON and no explicit error shows up in the logs.
No events are shown in Activity feed on website.
The SDK is configured as follow:
where the
PosthogHost
is eithereu.i.posthog.com
oreu.posthog.com
with the same result.Logs in XCode look as follow:
I am aware of a previous similar issue (#103), however the date
sent_at
seems to be formatted correctly, so I am assuming this is a different issue.The text was updated successfully, but these errors were encountered: