Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(data-warehouse): make self-managed column read failure actionable (#71397)

Tom Owers7a25d7a8a9dd
diff --git a/products/warehouse_sources/backend/models/table.py b/products/warehouse_sources/backend/models/table.py
index fef39458dfd1..30b87a07f655 100644
--- a/products/warehouse_sources/backend/models/table.py
+++ b/products/warehouse_sources/backend/models/table.py
@@ -848,7 +848,10 @@ class DataWarehouseTable(CreatedMetaFields, UpdatedMetaFields, UUIDTModel, Delet
if isinstance(err, CHQueryErrorTooManySimultaneousQueries):
raise err
- raise Exception("Could not get columns")
+ raise Exception(
+ "Could not read the files from your storage bucket. Check that the files URL pattern, file format, "
+ "and credentials are correct, then try again."
+ )
@database_sync_to_async