Runtime Errors

Component Shows Error on Page

Symptom

Component appears but displays error message instead of content.

Common Causes and Solutions

1. Data Source Configuration Error

Check: Query may be invalid or returning errors.

Solution:

  • Test SOQL query in Developer Console

  • Verify object and field API names are correct

  • Check filter syntax follows SOQL rules

  • Ensure user has access to queried objects/fields

2. Missing Field Permissions

Check: Component may reference fields user cannot access.

Solution:

  • Review field-level security for affected fields

  • Verify object permissions

  • Test component as affected user

  • Update field selections to use accessible fields

3. Component Logic Errors

Check: Custom actions or interactions may have errors.

Solution:

  • Review component logic in builder

  • Check for missing or incorrect action configurations

  • Verify event handlers are properly configured

  • Test step-by-step to isolate error

4. External Resource Issues

Check: External URLs or resources may be inaccessible.

Solution:

  • Verify external URLs are accessible

  • Check CSP (Content Security Policy) allows external resources

  • Ensure API endpoints are functioning

  • Test external resources independently

Last updated

Was this helpful?