Quick fixes for frequent problems with Probalytics.Documentation Index
Fetch the complete documentation index at: https://docs.probalytics.io/llms.txt
Use this file to discover all available pages before exploring further.
Authentication Issues
”Invalid API credentials” (401)
Cause: Incorrect authorization header format. Fix: Ensure the format isBearer API_KEY_ID:API_KEY_SECRET:
“Access denied” (403)
Cause: Your plan doesn’t have access to the requested data. Common scenarios:- Starter tier requesting data older than 30 days
- Querying
orderbook_snapshotstable without Early Access
SQL / ClickHouse Issues
”Authentication failed”
Cause: Wrong username/password or connection settings. Checklist:- Host:
clickhouse.probalytics.io - Port:
9440(Secure TCP) or8443(Secure HTTPS) - Database:
probalytics - Username and password from dashboard (not API keys)
- TLS/SSL enabled (use
--secureflag for CLI)
Query Times Out
Cause: Query is too broad or inefficient. Fix: Add filters on ORDER BY columns:”Max rows exceeded” or Truncated Results
Cause: Starter tier has a 100,000 row limit. Fix:- Add
LIMITto your query - Use aggregations (
count(),sum(),avg()) instead of raw rows - Narrow your date range
- Upgrade to Pro for 1 billion row limit
”Memory limit exceeded”
Cause: Query uses too much memory. Fixes:- Add stricter filters to reduce data scanned
- Use
SAMPLEfor approximate results: - Break query into smaller date ranges
- Upgrade tier for higher memory limits
Duplicate Rows in Results
Cause:ReplacingMergeTree hasn’t merged yet.
Fix: Add FINAL for exact results (slower):
FINAL for speed.
REST API Issues
Rate Limited
Cause: Exceeded rate limit of 3,000 requests per 10 seconds. Fix:- Reduce request frequency and batch where possible
- Cache responses where possible
- The database may saturate before the hard limit under heavy parallel load — stay well below the ceiling
SQL/ClickHouse connections have separate per-tier query limits (Starter: 100/hour, Pro: 1,000/hour, Custom: unlimited). If your SQL queries are being throttled, check your tier in the dashboard.
Empty Results
Cause: Filters too restrictive or wrong format. Checklist:- Dates must be RFC3339:
2024-01-01T00:00:00Z - Enum values are uppercase:
POLYMARKET,ACTIVE,BUY - UUIDs must be valid format
Slow Response Times
Cause: Requesting too much data at once. Fixes:- Use cursor-based pagination with
limitandcursorparameters - Add filters:
platform,start_time,end_time,market_id - Request only active/recent data
Data Issues
Missing Recent Data
Cause: Indexing delay (typically < 5 minutes). Note: Data is indexed from blockchain events and platform APIs. During high activity, there may be brief delays.Price Shows 0 or Null
Cause: Some fills (especially older ones) may have incomplete data. Fix: Filter for valid data:Market Not Found
Cause: Market may be:- Too new (not indexed yet)
- From an unsupported platform
- Using wrong ID format
platform_id for platform-native IDs, id for Probalytics UUIDs.
Connection Issues
Can’t Connect to ClickHouse
Checklist:- Firewall allows outbound port 9440 (Secure TCP) or 8443 (Secure HTTPS)
- Using correct host:
clickhouse.probalytics.io - Credentials are for ClickHouse (not API keys)
- TLS/SSL is enabled in your client (use
--secureflag for CLI) - Try HTTPS port (8443) if TCP (9440) is blocked