Troubleshooting
Solutions to common issues you might encounter when using work.studio.
Automation Issues
Automation Not Triggering
Symptoms: Your webhook-triggered automation isn't running when external events occur.
Solutions:
Verify the webhook URL
- Go to your automation's trigger settings
- Copy the exact webhook URL
- Ensure the external service is using the correct URL
Check the HTTP method
- work.studio webhooks accept POST requests
- Ensure the external service sends POST, not GET
Verify payload format
- Webhooks expect JSON with
Content-Type: application/json - Use the test panel to see what data is arriving
- Webhooks expect JSON with
Check automation status
- Ensure the automation is Active, not Draft
- Toggle off and on to refresh
Symptoms: Your scheduled automation misses its scheduled time.
Solutions:
Verify timezone
- Check that the schedule uses your intended timezone
- Go to Settings → Workspace to confirm workspace timezone
Check schedule syntax
- For cron expressions, validate at crontab.guru
- Common mistake:
* 9 * * *runs every minute at 9, not once at 9
Ensure automation is active
- Draft automations don't run on schedule
Check run history
- The run may have executed but failed
- Review the Runs tab for errors
Symptoms: Clicking "Run" does nothing.
Solutions:
Save the automation first
- Unsaved changes prevent test runs
- Click Save, then Run
Check for validation errors
- Look for red error indicators on actions
- Fix required field errors
Browser issues
- Clear browser cache
- Try a different browser
- Disable browser extensions
Automation Failing
Error: Connection timeout or Connection refused
Solutions:
Check the connector configuration
- Ensure the base URL is correct
- Verify the operation exists in the connector
- Test the connection directly
Check authentication
- Verify the connection credentials are valid
- Check that OAuth tokens haven't expired
- Regenerate API keys if needed
Check network restrictions
- Some APIs block requests from cloud IPs
- Contact the API provider about allowlisting
Increase timeout
- Default is 30 seconds
- Increase for slow APIs in step settings
Error: 401 Unauthorized or 403 Forbidden
Solutions:
Verify credentials
- Check that API key is correct in the connection
- Regenerate the key if needed
Check scopes/permissions
- Ensure the connection has required permissions
- Some APIs require specific OAuth scopes
Re-authenticate OAuth connections
- Go to Connections
- Click Reconnect on the affected connection
Error: Connection refused or timeout
Solutions:
Verify connection details
- Check host, port, database name
- Ensure the database is accessible
Check credentials
- Verify username and password
- Ensure the user has required permissions
Check SQL syntax
- Review the query for syntax errors
- Test the query directly in a database client
Error: Permission denied
Solutions:
- Check user permissions
- Ensure the database user can access the schema
- Grant necessary SELECT/INSERT/UPDATE permissions
Error: Execution error or Syntax error
Solutions:
Check JavaScript syntax
- Look for missing brackets, semicolons
- Validate code in a JS linter
Check data references
- Ensure
context.stepreferences exist - Use optional chaining for uncertain data
- Ensure
Check return statement
- FUNCTION must return a value
- Missing return causes undefined output
Error: Cannot read property of undefined
Solutions:
Check data path
- The referenced field may not exist
- Use optional chaining:
{{ input?.customer?.name }}
Verify data structure
- Check the actual payload in run logs
- The structure may differ from expected
Handle null values
- Add defaults:
{{ input.name || "Unknown" }}
- Add defaults:
Connection Issues
Authentication Problems
Symptoms: A working connection suddenly shows disconnected.
Solutions:
Re-authenticate
- Click the connection
- Click Reconnect
- Complete the OAuth flow again
Check app permissions
- Go to the connected app (Slack, Salesforce, etc.)
- Verify work.studio still has access
- Revoke and re-grant if needed
Token expired
- Enterprise apps may have short token lifetimes
- Re-authenticate more frequently
Symptoms: Actions fail with authentication errors.
Solutions:
Regenerate the API key
- In the external service, create a new API key
- Update the Secret in work.studio
Check key permissions
- Ensure the key has required scopes
- Some APIs require admin keys for certain operations
Verify key format
- Some keys need prefixes:
Bearer,Token,ApiKey - Check the API documentation
- Some keys need prefixes:
Performance Issues
Slow Automations
Symptoms: Automation runs for minutes instead of seconds.
Solutions:
Identify the slow step
- Check run logs for step durations
- Look for the step taking longest
Optimize CONNECTOR calls
- Batch requests when possible
- Use pagination efficiently
- Cache frequently-accessed data
Use parallel execution
- Run independent steps in parallel
- Reduces total execution time
Optimize DATABASE queries
- Add indexes for frequently queried columns
- Limit result sets with WHERE clauses
- Avoid SELECT * when only some fields needed
Symptoms: Automation fails with timeout after 60 seconds.
Solutions:
Increase timeout
- Go to automation settings
- Increase max execution time (up to 15 minutes)
Break into smaller steps
- Split long-running work
- Use sub-workflows for complex operations
Optimize external calls
- Slow third-party APIs may need caching
- Consider webhooks instead of polling
Common Error Messages
Error Code Reference
Expression Errors
Cause: Trying to access a property on undefined data.
Fix:
// Instead of:
{{ input.customer.name }}
// Use optional chaining:
{{ input?.customer?.name }}
// Or provide default:
{{ input.customer.name || "No name" }}
Cause: Referencing a step that doesn't exist or hasn't run yet.
Fix:
// Ensure step name is correct:
{{ steps.lookupCustomer.output.name }}
// Check step naming in your workflow
// Step names are case-sensitive
Cause: Using a function that doesn't exist in expressions.
Use FUNCTION step instead: For complex operations, use a FUNCTION step with JavaScript:
// In FUNCTION step:
const date = new Date(context.config.timestamp);
return {
formatted: date.toISOString().split('T')[0]
};
Cause: Expression contains invalid syntax.
Common fixes:
- Balance brackets:
{{ }}not{ }or{{{ }}} - Check operators:
==not=for comparison - Ensure variable names match step names exactly
Browser Issues
UI Not Loading
Solutions:
Clear cache
- Press
Ctrl+Shift+R(Windows) orCmd+Shift+R(Mac) - Or clear browser cache in settings
- Press
Try incognito mode
- Rules out extension conflicts
Check browser compatibility
- Use Chrome, Firefox, Edge, or Safari
- Update to latest version
Check network
- Ensure stable internet connection
- Check if flow.work.studio is accessible
Solutions:
Check for validation errors
- Red outlines indicate invalid fields
- Fix errors before saving
Check connection
- Network issues may prevent saves
- Look for offline indicator
Session expired
- Refresh the page
- Log in again if prompted
Getting More Help
Collect Debug Information
Before contacting support, gather:
Automation ID
- Found in the URL when viewing the automation
Run ID
- From the run history of failed execution
Error message
- Exact error text from the logs
Steps to reproduce
- What you did before the error
Contact Support
- Email: support@work.studio
- Status: status.work.studio