Skip to content
This repository was archived by the owner on Nov 21, 2023. It is now read-only.

Default Date From seems to fail #15

Open
Mentioum opened this issue Jun 30, 2022 · 2 comments
Open

Default Date From seems to fail #15

Mentioum opened this issue Jun 30, 2022 · 2 comments

Comments

@Mentioum
Copy link

What happened

Error from Posthog Cloud Plugin Output

2022-06-30 13:11:00.304 UTC | PLUGIN | ERROR | Error: Unable to determine the lower timestamp bound for the export automatically. Please specify a 'dateFrom' value.     at Proxy.meta.global.initTimestampsAndCursor (/code/plugin-server/dist/worker/vm/upgrades/historical-export/export-historical-events.js:164:23)     at Object.exec (/code/plugin-server/dist/worker/vm/upgrades/historical-export/export-historical-events.js:79:31)     at runMicrotasks (<anonymous>)     at processTicksAndRejections (node:internal/process/task_queues:96:5)     at async runPluginTask (/code/plugin-server/dist/worker/plugins/run.js:88:20)     at async /code/plugin-server/dist/worker/worker.js:49:49     at async /code/plugin-server/node_modules/@posthog/piscina/dist/src/worker.js:149:26
-- | -- | -- | --

Field implies empty is fine

image

Expectation

It exports all events if no date is given (as per field help text)

@Mentioum
Copy link
Author

Also when putting an arbitrary date a long time ago you get this error:
image

It should probably do a query to find the first event after the time and then do chunks of events from that point forward.

@lsmith77
Copy link

I guess a simpler work-around could also be to just use a date before Posthog even existed? ie. 2020-01-01

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants