Troubleshooting¶
This guide helps resolve common issues when working with the EWE Numera data platform.
Connection Issues¶
Failed to Connect to Snowflake¶
Symptoms: Connection refused, timeout, or authentication error.
Solutions:
-
Verify account format
-
Check role grants
-
Verify network access
- Check if VPN is required
-
Verify firewall allows Snowflake connections (port 443)
-
SSO/MFA issues
- Clear browser cache for SSO
- Reset MFA token if expired
Insufficient Privileges¶
Symptoms: "Insufficient privileges to operate on..." error.
Solutions:
-
Verify role
-
Check required grants
-
Request access: Contact your Snowflake administrator
Query Issues¶
No Data Returned¶
Symptoms: Query returns empty results when data is expected.
Solutions:
-
Check date filters
-
Check placeholder exclusion
-
Check status filters
-
Check is_best_available flag
Duplicate Records¶
Symptoms: Query returns more rows than expected, apparent duplicates.
Solutions:
-
Check for fanout joins
-
Use DISTINCT
-
Check for multiple versions
Query Timeout¶
Symptoms: Query runs for extended period then times out.
Solutions:
-
Add date filters early
-
Reduce data scope
-
Use warehouse sizing
- Contact administrator to resize warehouse if needed
-
Larger warehouses process faster but cost more
-
Check query plan
Data Quality Issues¶
Volumes Don't Balance¶
Symptoms: Buy and sell volumes don't net to expected values.
Solutions:
-
Check status filters
-
Use is_best_available
-
Check volume types
P&L Doesn't Match Source¶
Symptoms: P&L totals differ from source system reports.
Solutions:
-
Verify metric date
-
Check reval type
-
Verify deal population
-
Check timing
- Source systems may update at different times
- Verify when Numera data was last refreshed
Missing Counterparty Information¶
Symptoms: External party shows as NULL or joins return empty.
Solutions:
-
Check for placeholder
-
Verify foreign key exists
Credit Exposure Issues¶
Exposure Values Seem Wrong¶
Symptoms: Credit exposure numbers don't match expectations.
Solutions:
-
Verify metric date
-
Check simulation run
-
Understand aggregation
- Exposures may be by exposure line, not just counterparty
- Check exp_line_id grouping
Missing PEX Factors¶
Symptoms: PEX factor query returns no data for commodity.
Solutions:
-
Check commodity spelling
-
Verify date
Clearing Statement Issues¶
Missing Clearing Data¶
Symptoms: No data from ABN or BNP.
Solutions:
-
Check data arrival
-
Verify feature flag
- Clearing statements require
feed.clearing_statementsfeature flag -
Contact administrator if data is missing
-
Check specific bank
Performance Issues¶
Slow Dashboard Load¶
Symptoms: Power BI or Tableau dashboards take long to load.
Solutions:
- Add filters at report level
- Filter metric_date to recent dates
-
Filter to specific portfolios/counterparties
-
Use aggregated tables
- Use
fct_volume_dailyinstead offct_schedulefor daily totals -
Use summary tables where available
-
Consider import mode
- For dimension tables, use import instead of direct query
- Set up incremental refresh
Warehouse Auto-Suspend¶
Symptoms: First query is slow, subsequent queries are fast.
Explanation: Warehouses auto-suspend to save costs. First query resumes the warehouse.
Solutions: - This is normal behavior - First query typically takes 5-15 seconds longer - Contact administrator if warehouse doesn't resume
Developer Issues¶
dbt Run Fails¶
Symptoms: dbt run command fails with error.
Solutions:
-
Check connection
-
View error details
-
Check compiled SQL
-
Run dependencies first
Package Not Found¶
Symptoms: "Package not found" or "Macro not found" error.
Solutions:
Model Not Processing New Data¶
Symptoms: Incremental model doesn't pick up new records.
Solutions:
- Check incremental predicate
- Verify timestamp column in incremental logic
-
Check
ingestion_delay_secondsvariable -
Full refresh
Common Error Messages¶
| Error | Likely Cause | Solution |
|---|---|---|
Compilation Error |
SQL or Jinja syntax error | Check model syntax |
Database Error |
Snowflake query issue | Review error details |
Relation does not exist |
Table not created | Run dependencies first |
Insufficient privileges |
Missing grants | Request role access |
Warehouse does not exist |
Typo or missing warehouse | Check warehouse name |
Getting Help¶
- Check logs:
cat logs/dbt.log - Review compiled SQL:
target/compiled/ - Search documentation: Use search on this site
- Contact support: Reach out to your data team
Information to Provide¶
When requesting help, include: - Error message (full text) - Model or table name - Query being executed - Steps to reproduce - Expected vs actual behavior