Skip to content

Test errors?

Learn how to diagnose and fix common runtime errors.

Runtime errors occur when your Worker is executing. Check the run logs for details.

Symptoms:

ConnectionError: Failed to establish connection

Solutions:

  • Check URL is accessible
  • Enable Web Unlocker
  • Use proxy configuration

Symptoms:

TimeoutError: Navigation timeout of 30000 ms exceeded

Solutions:

  • Increase timeout value
  • Reduce page scope
  • Check website availability

Symptoms:

NoSuchElementException: Unable to locate element

Solutions:

  • Check CSS selectors
  • Wait for element to load
  • Verify page structure

Symptoms:

  • Worker completes but no data

Solutions:

  • Check selectors match website
  • Verify JavaScript rendering
  • Check anti-scraping measures

Symptoms:

MemoryError / Out of memory

Solutions:

  • Process in batches
  • Clear unused variables
  • Reduce data size

Navigate to Run details → Logs

from sdk import CoreSDK
CoreSDK.Log.info(f"Processing: {url}")
CoreSDK.Log.info(f"Found {len(items)} items")
CoreSDK.Log.error(f"Error: {e}")
  • Single URL instead of multiple
  • Smaller page range
  • Default settings

Verify environment variables:

  • PROXY_AUTH
  • ChromeWs
  • PROXY_DOMAIN
IssuePrevention
ConnectionUse Web Unlocker
TimeoutSet appropriate timeouts
ElementUse flexible selectors
Empty resultsTest selectors locally