Troubleshooting
Common Errors
Diagnose and resolve the most common issues encountered when using Isofold.
Overview
Isofold is designed to be transparent and non-disruptive. Still, integration issues or edge cases may occur. This guide lists the most common errors and how to resolve them.
Proxy connection fails
Symptom: Client returns a 502/503 or cannot connect to Isofold.
Causes:
- Proxy URL is incorrect or unresolvable
- TLS termination misconfigured
- Self-hosted instance not running
Fixes:
- Double-check your
apiEndpoint
or JDBC URL - Test proxy with
curl
orpsql
:
- For self-hosted: ensure the container is listening and reachable
- Check DNS propagation if using a custom domain
Query fails with warehouse error
Symptom: You receive a native BigQuery/Snowflake/Aurora error like “invalid field” or “unexpected token.”
Causes:
- Isofold rewrite emitted a query that’s invalid in your warehouse
- Warehouse version mismatch
- Aggressive rewrite mode enabled
Fixes:
- Enable verification mode and compare original vs rewritten query:
- Downgrade to safe rewrite mode:
- Report persistent rewrite issues to support with trace ID
Query results differ unexpectedly
Symptom: You suspect the output of a rewritten query differs from the original.
Causes:
- Semantic edge case in rewrite logic
- Non-deterministic query (e.g.,
ORDER BY RAND()
)
Fixes:
- Use
/verify
endpoint or dashboard to compare outputs - Disable rewriting for this query class using a passthrough rule
- Open a ticket with the full query text and trace ID
BigQuery dry-run errors
Symptom: You see errors about dry-run mode failing or unsupported statements.
Causes:
- DDL/DML queries (e.g.,
CREATE TABLE
,MERGE
) are not dry-runnable - BigQuery API quota exceeded
Fixes:
- Skip rewrite for DDL/DML operations
- Use an allowlist or guard clause in client config
- Retry after cooldown or increase quota in GCP
Debug tips
Set verbose logging in your proxy:
Check logs for:
- Query fingerprint
- Rewritten SQL
- Trace IDs
- Warehouse response metadata
Still stuck? See Debugging Tips or Contact Support.